X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1fe6e66ecec3fb7a7cc729038012cbb264542331..f78c60f54a9beb04f1409712ec95b46f2d52a0ab:/print-null.c diff --git a/print-null.c b/print-null.c index f1af5440..47df451e 100644 --- a/print-null.c +++ b/print-null.c @@ -118,11 +118,11 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char #endif case BSD_AFNUM_ISO: - isoclns_print(p, length, caplen); + isoclns_print(ndo, p, length, caplen); break; case BSD_AFNUM_APPLETALK: - atalk_print(p, length); + atalk_print(ndo, p, length); break; case BSD_AFNUM_IPX: @@ -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);