X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/32e24ead3b2a171e5f5eff50d7231c2514eda9b4..1bcd37991fa57d9e966a6f96e7cbff59b16c28bd:/print-ipfc.c diff --git a/print-ipfc.c b/print-ipfc.c index 7add1b7b..5222e512 100644 --- a/print-ipfc.c +++ b/print-ipfc.c @@ -139,9 +139,9 @@ trunc: * 'h->len' is the length of the packet off the wire, and 'h->caplen' * is the number of bytes actually captured. */ -u_int +void ipfc_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) { - ndo->ndo_protocol = "ipfc_if"; - return (ipfc_print(ndo, p, h->len, h->caplen)); + ndo->ndo_protocol = "ipfc"; + ndo->ndo_ll_hdr_len += ipfc_print(ndo, p, h->len, h->caplen); }