X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5f947ac9b4b1a535d9306144ec6d980bad110e16..a761e50f8a38d94485d03a8e807dc10fdda41afd:/print-ipnet.c diff --git a/print-ipnet.c b/print-ipnet.c index 3a5b5a1a..957bd4f5 100644 --- a/print-ipnet.c +++ b/print-ipnet.c @@ -91,9 +91,10 @@ ipnet_print(struct netdissect_options *ndo, const u_char *p, u_int length, u_int * is the number of bytes actually captured. */ u_int -ipnet_if_print(const struct pcap_pkthdr *h, const u_char *p) +ipnet_if_print(struct netdissect_options *ndo, + const struct pcap_pkthdr *h, const u_char *p) { - ipnet_print(gndo, p, h->len, h->caplen); + ipnet_print(ndo, p, h->len, h->caplen); return (sizeof(ipnet_hdr_t)); }