X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/451ac4c753933eca8ffd5fd5192a03334520d789..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/print-otv.c diff --git a/print-otv.c b/print-otv.c index d7b062bc..502f93e4 100644 --- a/print-otv.c +++ b/print-otv.c @@ -50,7 +50,7 @@ otv_print(netdissect_options *ndo, const u_char *bp, u_int len) goto trunc; ND_TCHECK_1(bp); - flags = *bp; + flags = EXTRACT_U_1(bp); ND_PRINT((ndo, "flags [%s] (0x%02x), ", flags & 0x08 ? "I" : ".", flags)); bp += 1;