From 08e2518fb9b7bf88ecf1e4042d1180ffef8ba176 Mon Sep 17 00:00:00 2001 From: Elit Date: Wed, 22 Nov 2017 18:55:44 +0800 Subject: [PATCH] Change the P-bit position of vxlan-gpe flags and the default value according to the latest INT spec. --- scapy/contrib/vxlan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/contrib/vxlan.py b/scapy/contrib/vxlan.py index a45f530..b4d0d5d 100644 --- a/scapy/contrib/vxlan.py +++ b/scapy/contrib/vxlan.py @@ -23,7 +23,7 @@ def mysummary(self): class VXLAN_GPE(Packet): name = "VXLAN_GPE" - fields_desc = [ FlagsField("flags", 0x18, 8, ['R', 'R', 'R', 'I', 'P', 'R', 'R', 'R']), + fields_desc = [ FlagsField("flags", 0xc, 8, ['R', 'R', 'P', 'I', 'R', 'R', 'R', 'R']), XShortField("reserved1", 0x0000), XByteField("next_proto", 0x03), ThreeBytesField("vni", 0),