diff options
Diffstat (limited to 'print-null.c')
-rw-r--r-- | print-null.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-null.c b/print-null.c index 64fdfa25..e7daacd4 100644 --- a/print-null.c +++ b/print-null.c @@ -33,7 +33,6 @@ #include "extract.h" #include "af.h" -static const char tstr[] = " [|null]"; /* * The DLT_NULL packet header is 4 bytes long. It contains a host-byte-order @@ -141,6 +140,6 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char return (NULL_HDRLEN); trunc: - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); return (NULL_HDRLEN); } |