X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/546558eabd81cfc36a81a4df728fdfea0d83b41a..8030a66cdcbf81c88cbb7c38ef7a334e9f1941cd:/print-telnet.c?ds=sidebyside diff --git a/print-telnet.c b/print-telnet.c index 204654ce..3bfb19a2 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -58,7 +58,6 @@ #include "netdissect.h" #include "extract.h" -static const char tstr[] = " [|telnet]"; #define TELCMDS #define TELOPTS @@ -501,7 +500,7 @@ done: return sp - osp; trunc: - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); pktend: return -1; #undef FETCH @@ -556,5 +555,5 @@ telnet_print(netdissect_options *ndo, const u_char *sp, u_int length) } return; trunc: - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); }