summaryrefslogtreecommitdiff
path: root/print-hncp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-20 08:05:29 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-20 09:40:00 +0100
commit716e07e0602694c434414de78f278a2451ea92cf (patch)
tree2ef4a442fac77e3397865a09526e9dbe8cfcf09a /print-hncp.c
parent8eecfc382e20189f64d1b77515d4bfa6e8ec7155 (diff)
downloadtcpdump-716e07e0602694c434414de78f278a2451ea92cf.tar.gz
Use more the EXTRACT_8BITS() macro to fetch a one-byte value (12/n)
In ND_PRINT() macro calls.
Diffstat (limited to 'print-hncp.c')
-rw-r--r--print-hncp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-hncp.c b/print-hncp.c
index d606116d..068a2391 100644
--- a/print-hncp.c
+++ b/print-hncp.c
@@ -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);
}