X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3e3e6d2ef4c1b120077378fe32dc0a88ee81f38e..f34af1aa63da301ae7ee91e2300dff31702001f0:/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; }