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-slow.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-slow.c')
-rw-r--r-- | print-slow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-slow.c b/print-slow.c index a4064ed4..6f489ae2 100644 --- a/print-slow.c +++ b/print-slow.c @@ -262,7 +262,7 @@ slow_print(netdissect_options *ndo, goto tooshort; ND_TCHECK(*(pptr+1)); if (*(pptr+1) != LACP_VERSION) { - ND_PRINT((ndo, "LACP version %u packet not supported", *(pptr+1))); + ND_PRINT((ndo, "LACP version %u packet not supported", EXTRACT_U_1(pptr + 1))); return; } print_version = 1; @@ -273,7 +273,7 @@ slow_print(netdissect_options *ndo, goto tooshort; ND_TCHECK(*(pptr+1)); if (*(pptr+1) != MARKER_VERSION) { - ND_PRINT((ndo, "MARKER version %u packet not supported", *(pptr+1))); + ND_PRINT((ndo, "MARKER version %u packet not supported", EXTRACT_U_1(pptr + 1))); return; } print_version = 1; |