]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nsh.c
Handle rpcaps:// URLs as well, for rpcap-over-TLS.
[tcpdump] / print-nsh.c
index fc129200ca589ba433bc1deb0b52306b4647d894..7de9002f2b1e663e56855235e3ca5bb6437164a8 100644 (file)
@@ -34,7 +34,6 @@
 #include "netdissect.h"
 #include "extract.h"
 
-static const char tstr[] = " [|NSH]";
 static const struct tok nsh_flags [] = {
     { 0x20, "O" },
     { 0x10, "C" },
@@ -181,6 +180,6 @@ nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
     return;
 
 trunc:
-    ND_PRINT("%s", tstr);
+    nd_print_trunc(ndo);
 }