aboutsummaryrefslogtreecommitdiff
path: root/print-bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-bootp.c')
-rw-r--r--print-bootp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/print-bootp.c b/print-bootp.c
index fe798a0483da..d87911fdb206 100644
--- a/print-bootp.c
+++ b/print-bootp.c
@@ -322,6 +322,7 @@ bootp_print(netdissect_options *ndo,
if (EXTRACT_16BITS(&bp->bp_secs))
ND_PRINT((ndo, ", secs %d", EXTRACT_16BITS(&bp->bp_secs)));
+ ND_TCHECK(bp->bp_flags);
ND_PRINT((ndo, ", Flags [%s]",
bittok2str(bootp_flag_values, "none", EXTRACT_16BITS(&bp->bp_flags))));
if (ndo->ndo_vflag > 1)