]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-hncp.c
Use more the EXTRACT_8BITS() macro to fetch a one-byte value (12/n)
[tcpdump] / print-hncp.c
index d606116dcebf2379f39f0d6f8b5e2f28183a5322..068a2391fdf10877c77755ba4ca7da8d42754bed 100644 (file)
@@ -580,7 +580,7 @@ hncp_print_rec(netdissect_options *ndo,
                 break;
             }
             ND_PRINT((ndo, " Verdict: %u Fingerprint: %s Common Name: ",
-                *value,
+                EXTRACT_8BITS(value),
                 format_256(value + 4)));
             safeputs(ndo, value + 36, bodylen - 36);
         }