X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1fe6e66ecec3fb7a7cc729038012cbb264542331..ff23dba40e728115b878b009ec299b47b924991d:/print-cip.c?ds=sidebyside diff --git a/print-cip.c b/print-cip.c index 3f972b48..91abe08d 100644 --- a/print-cip.c +++ b/print-cip.c @@ -76,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) @@ -86,7 +86,7 @@ cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char etherproto_string(htons(extracted_ethertype)))); } if (!ndo->ndo_suppress_default_print) - ndo->ndo_default_print(ndo, p, caplen); + ND_DEFAULTPRINT(p, caplen); } } else { /*