X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/56e6581c34ceec5469b9f37c19b31a36b0256f3c..0446070756e8f61c29d4c41f4adab08b3bf9d830:/print-ipnet.c diff --git a/print-ipnet.c b/print-ipnet.c index 9bb6c184..6a521ecc 100644 --- a/print-ipnet.c +++ b/print-ipnet.c @@ -9,7 +9,6 @@ #include "netdissect.h" #include "extract.h" -static const char tstr[] = "[|ipnet]"; typedef struct ipnet_hdr { nd_uint8_t iph_version; @@ -58,7 +57,7 @@ ipnet_hdr_print(netdissect_options *ndo, const u_char *bp, u_int length) ND_PRINT(", length %u: ", length); return; trunc: - ND_PRINT(" %s", tstr); + nd_print_trunc(ndo); } static void @@ -100,7 +99,7 @@ ipnet_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen } return; trunc: - ND_PRINT(" %s", tstr); + nd_print_trunc(ndo); } /*