summaryrefslogtreecommitdiff
path: root/print-vxlan.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-09 09:56:29 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-09 09:56:29 +0100
commit3a7639e545c0543bcec19c4321dd3ba397fbe6fa (patch)
tree44decbbcb2ea9fd9aff7d0b86a4698a2b74a4fea /print-vxlan.c
parent58010245a5c050e543862c068d1f182fc70623c7 (diff)
downloadtcpdump-3a7639e545c0543bcec19c4321dd3ba397fbe6fa.tar.gz
Use more the EXTRACT_U_1() macro (49/n)
Assignment, *(p)
Diffstat (limited to 'print-vxlan.c')
-rw-r--r--print-vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-vxlan.c b/print-vxlan.c
index 1a7635fd..b8914fe1 100644
--- a/print-vxlan.c
+++ b/print-vxlan.c
@@ -55,7 +55,7 @@ vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len)
ND_TCHECK2(*bp, VXLAN_HDR_LEN);
- flags = *bp;
+ flags = EXTRACT_U_1(bp);
bp += 4;
vni = EXTRACT_BE_U_3(bp);