]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rpki-rtr.c
Use more the EXTRACT_U_1() macro (31/n)
[tcpdump] / print-rpki-rtr.c
index 2c950fbad6eb627d75b6d55b9097848d7478d0a5..1af8e863794a53fce7798f5295f9693926d9f67e 100644 (file)
@@ -190,7 +190,7 @@ rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, const u_int len
         * version 0, there is no way to know exactly how to skip the
         * current PDU.
         */
-       ND_PRINT((ndo, "%sRPKI-RTRv%u (unknown)", indent_string(8), *tptr));
+       ND_PRINT((ndo, "%sRPKI-RTRv%u (unknown)", indent_string(8), EXTRACT_U_1(tptr)));
        return len;
     }
     if (len < sizeof(rpki_rtr_pdu)) {