X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/207f31f2bd0a007f978b60ad0881a30c055f32ee..5663cdab5ec8730ade9938c1ace64a4859d9ef7b:/print-cip.c diff --git a/print-cip.c b/print-cip.c index 8ac2f04e..f8b48ec2 100644 --- a/print-cip.c +++ b/print-cip.c @@ -20,6 +20,7 @@ * */ +#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -75,7 +76,7 @@ cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char /* * LLC header is present. Try to print it & higher layers. */ - if (llc_print(p, length, caplen, NULL, NULL, + if (llc_print(ndo, p, length, caplen, NULL, NULL, &extracted_ethertype) == 0) { /* ether_type not known, print raw packet */ if (!ndo->ndo_eflag)