X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3e3e6d2ef4c1b120077378fe32dc0a88ee81f38e..0446070756e8f61c29d4c41f4adab08b3bf9d830:/print-tftp.c diff --git a/print-tftp.c b/print-tftp.c index 548a36c5..2630e554 100644 --- a/print-tftp.c +++ b/print-tftp.c @@ -58,7 +58,6 @@ #define EEXISTS 6 /* file already exists */ #define ENOUSER 7 /* no such user */ -static const char tstr[] = " [|tftp]"; /* op code to string mapping */ static const struct tok op2str[] = { @@ -199,6 +198,6 @@ tftp_print(netdissect_options *ndo, } return; trunc: - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); return; }