]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-tftp.c
Compile with '-Wsign-compare' in devel mode if supported
[tcpdump] / print-tftp.c
index 548a36c5494ea76186228be1e6d41b933ea46ea0..2630e554caea64c8a0dc283bcca31a01c0230ce8 100644 (file)
@@ -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;
 }