]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ipfc.c
document SIGUSR1 in manual page
[tcpdump] / print-ipfc.c
index 7a7b6f933e1b2e0a8543a99d1eced3cbcd9645e6..295ac0fdab3d4e568171bc533babf9e792a743f6 100644 (file)
@@ -68,8 +68,8 @@ ipfc_hdr_print(netdissect_options *ndo,
 {
        const char *srcname, *dstname;
 
-       srcname = etheraddr_string(ipfcsrc);
-       dstname = etheraddr_string(ipfcdst);
+       srcname = etheraddr_string(ndo, ipfcsrc);
+       dstname = etheraddr_string(ndo, ipfcdst);
 
        /*
         * XXX - show the upper 16 bits?  Do so only if "vflag" is set?
@@ -116,7 +116,7 @@ ipfc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen)
                etherproto_string(htons(extracted_ethertype))));
                }
                if (!ndo->ndo_suppress_default_print)
-                       ndo->ndo_default_print(ndo, p, caplen);
+                       ND_DEFAULTPRINT(p, caplen);
        }
 }