diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-27 18:38:56 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-27 20:57:24 +0100 |
commit | f085c93f59fb2332e09f3da20eef5fb2bbd04431 (patch) | |
tree | b3b4364a44ce79355b3e559b1470493e4aaefafc /print-udld.c | |
parent | 99227bf55234b457b8e5ac39992a6db6db388939 (diff) | |
download | tcpdump-f085c93f59fb2332e09f3da20eef5fb2bbd04431.tar.gz |
Use more the EXTRACT_U_1() macro (31/n)
In ND_PRINT() macro call(s) (step 9).
*(p)
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 748016c6..94c32566 100644 --- a/print-udld.c +++ b/print-udld.c @@ -166,7 +166,7 @@ udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) case UDLD_TIMEOUT_INTERVAL_TLV: if (len != 1) goto invalid; - ND_PRINT((ndo, ", %us", (*tptr))); + ND_PRINT((ndo, ", %us", (EXTRACT_U_1(tptr)))); break; case UDLD_SEQ_NUMBER_TLV: |