diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-26 21:33:24 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-26 21:33:24 +0100 |
commit | 2858e729edf1112bc075c8fb72a66726009b391b (patch) | |
tree | 5579d4e73d029d0a98ac82f2aaae586d3d93181f /print-dtp.c | |
parent | 1a90fd99d279d63242419a30ba3e0720872bff75 (diff) | |
download | tcpdump-2858e729edf1112bc075c8fb72a66726009b391b.tar.gz |
Use more the EXTRACT_U_1() macro (29/n)
In ND_PRINT() macro call(s) (step 8).
*(p + e)
Diffstat (limited to 'print-dtp.c')
-rw-r--r-- | print-dtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-dtp.c b/print-dtp.c index cd7a1845..4799f260 100644 --- a/print-dtp.c +++ b/print-dtp.c @@ -96,7 +96,7 @@ dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) case DTP_DTP_TYPE_TLV: if (len < 5) goto invalid; - ND_PRINT((ndo, ", 0x%x", *(tptr+4))); + ND_PRINT((ndo, ", 0x%x", EXTRACT_U_1(tptr + 4))); break; case DTP_NEIGHBOR_TLV: |