]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ipnet.c
Add changes in 4.2.1.
[tcpdump] / print-ipnet.c
index 3a5b5a1aa18390d89b9045d12336a0840014d3e1..187f939d3f8c130ceef06bcc62a47767a3669579 100644 (file)
@@ -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));
 }