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-udld.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-udld.c')
-rw-r--r-- | print-udld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-udld.c b/print-udld.c index 4b9105ba..011fd8ad 100644 --- a/print-udld.c +++ b/print-udld.c @@ -113,7 +113,7 @@ udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) tok2str(udld_code_values, "Reserved", code), code, bittok2str(udld_flags_values, "none", EXTRACT_8BITS((tptr + 1))), - *(tptr+1), + EXTRACT_8BITS((tptr + 1)), length)); /* |