X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e2877011a1fcb750fd1666b047ce9887b1242a96..d9a787e4995b4b5101e410ed1e93367907ab9fe2:/print-telnet.c diff --git a/print-telnet.c b/print-telnet.c index f760db90..b0283f20 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -530,7 +530,6 @@ telnet_print(netdissect_options *ndo, const u_char *sp, u_int length) sp += l; length -= l; - ND_TCHECK_1(sp); } if (!first) { if (ndo->ndo_Xflag && 2 < ndo->ndo_vflag) @@ -538,7 +537,4 @@ telnet_print(netdissect_options *ndo, const u_char *sp, u_int length) else ND_PRINT("]"); } - return; -trunc: - nd_print_trunc(ndo); }