X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5f947ac9b4b1a535d9306144ec6d980bad110e16..b71c02f6b36c11c1e9d1ef5e8855f31965d3298b:/print-ipnet.c diff --git a/print-ipnet.c b/print-ipnet.c index 3a5b5a1a..187f939d 100644 --- a/print-ipnet.c +++ b/print-ipnet.c @@ -69,7 +69,7 @@ ipnet_print(struct netdissect_options *ndo, const u_char *p, u_int length, u_int #ifdef INET6 case IPH_AF_INET6: - ip6_print(p, length); + ip6_print(ndo, p, length); break; #endif /*INET6*/ @@ -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)); }