]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
the failed/passed count was not kept in the right place
[tcpdump] / print-enc.c
index 630f6b31603252a454e69e131c25f3d7516c3de6..e6c27870a9160be47bc26a52e737fea4f67c0527 100644 (file)
@@ -142,7 +142,7 @@ enc_if_print(netdissect_options *ndo,
        ENC_PRINT_TYPE(flags, M_AUTH, "authentic");
        ENC_PRINT_TYPE(flags, M_CONF, "confidential");
        /* ENC_PRINT_TYPE(flags, M_TUNNEL, "tunnel"); */
-       ND_PRINT("SPI 0x%08x: ", EXTRACT_BE_U_4(hdr->spi));
+       ND_PRINT("SPI 0x%08x: ", GET_BE_U_4(hdr->spi));
 
        length -= ENC_HDRLEN;
        caplen -= ENC_HDRLEN;