]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-calm-fast.c
the failed/passed count was not kept in the right place
[tcpdump] / print-calm-fast.c
index 45bb5cc781828a775e46651113b161ce3a6a7d8b..6331a9c985e32a2da2eb86e35637ddca4207b9ff 100644 (file)
@@ -47,8 +47,8 @@ calm_fast_print(netdissect_options *ndo, const u_char *bp, u_int length, const s
        ND_TCHECK_2(bp);
        if (length < 2)
                goto trunc;
-       srcNwref = EXTRACT_U_1(bp);
-       dstNwref = EXTRACT_U_1(bp + 1);
+       srcNwref = GET_U_1(bp);
+       dstNwref = GET_U_1(bp + 1);
        length -= 2;
        bp += 2;