]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-fddi.c
the failed/passed count was not kept in the right place
[tcpdump] / print-fddi.c
index d73d92d6a0c856f60345e33b63148110a62e476c..db5222f6ac274d7cbd2b41a1dc9d296f62cb4a9b 100644 (file)
@@ -261,7 +261,7 @@ fddi_hdr_print(netdissect_options *ndo,
        dstname = etheraddr_string(ndo, fdst);
 
        if (!ndo->ndo_qflag)
-               print_fddi_fc(ndo, EXTRACT_U_1(fddip->fddi_fc));
+               print_fddi_fc(ndo, GET_U_1(fddip->fddi_fc));
        ND_PRINT("%s > %s, length %u: ",
               srcname, dstname,
               length);
@@ -288,7 +288,7 @@ fddi_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen)
                return (caplen);
        }
 
-       fc = EXTRACT_U_1(fddip->fddi_fc);
+       fc = GET_U_1(fddip->fddi_fc);
 
        /*
         * Get the FDDI addresses into a canonical form