]> The Tcpdump Group git mirrors - tcpdump/blobdiff - util-print.c
Add the nd_print_trunc() function
[tcpdump] / util-print.c
index 1a54a42a1898256cb75ae9c740a898d190e51a3e..8cf0576b2d49186035218d89051a2e8f433ae18d 100644 (file)
@@ -426,6 +426,12 @@ signed_relts_print(netdissect_options *ndo,
        unsigned_relts_print(ndo, secs);
 }
 
+/* Print the truncated string */
+void nd_print_trunc(netdissect_options *ndo)
+{
+       ND_PRINT(" [|%s]", ndo->ndo_protocol);
+}
+
 /*
  *  this is a generic routine for printing unknown data;
  *  we pass on the linefeed plus indentation string to