X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/451ac4c753933eca8ffd5fd5192a03334520d789..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/print-telnet.c diff --git a/print-telnet.c b/print-telnet.c index bbc4f231..41e24462 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -444,7 +444,7 @@ telnet_parse(netdissect_options *ndo, const u_char *sp, u_int length, int print) p++; } ND_TCHECK_1(p); - if (*p != IAC) + if (EXTRACT_U_1(p) != IAC) goto pktend; switch (x) {