summaryrefslogtreecommitdiff
path: root/print-null.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-26 18:52:40 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-26 18:52:40 +0400
commit979fc38d033c43d68149954d64c93a273d358040 (patch)
tree353c1e328003ebe99036e6996809387a956d59e9 /print-null.c
parent857f4889f3a7be95e2fda9f004f6d7c497c5ace7 (diff)
downloadtcpdump-979fc38d033c43d68149954d64c93a273d358040.tar.gz
make use of ND_DEFAULTPRINT()
Diffstat (limited to 'print-null.c')
-rw-r--r--print-null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-null.c b/print-null.c
index f1af5440..f0ad6617 100644
--- a/print-null.c
+++ b/print-null.c
@@ -134,7 +134,7 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
if (!ndo->ndo_eflag)
null_hdr_print(ndo, family, length + NULL_HDRLEN);
if (!ndo->ndo_suppress_default_print)
- ndo->ndo_default_print(ndo, p, caplen);
+ ND_DEFAULTPRINT(p, caplen);
}
return (NULL_HDRLEN);