diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-20 08:05:29 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-20 09:40:00 +0100 |
commit | 716e07e0602694c434414de78f278a2451ea92cf (patch) | |
tree | 2ef4a442fac77e3397865a09526e9dbe8cfcf09a /print-slow.c | |
parent | 8eecfc382e20189f64d1b77515d4bfa6e8ec7155 (diff) | |
download | tcpdump-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-slow.c')
-rw-r--r-- | print-slow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-slow.c b/print-slow.c index 46de14c2..8b3dca10 100644 --- a/print-slow.c +++ b/print-slow.c @@ -292,7 +292,7 @@ slow_print(netdissect_options *ndo, if (print_version == 1) { ND_PRINT((ndo, "%sv%u, length %u", tok2str(slow_proto_values, "unknown (%u)", subtype), - *(pptr+1), + EXTRACT_8BITS((pptr + 1)), len)); } else { /* some slow protos don't have a version number in the header */ |