summaryrefslogtreecommitdiffstats
path: root/test/patches
diff options
context:
space:
mode:
Diffstat (limited to 'test/patches')
-rw-r--r--test/patches/scapy-2.3.3/vxlan.patch1
-rw-r--r--test/patches/scapy-2.4/vxlan.py.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/test/patches/scapy-2.3.3/vxlan.patch b/test/patches/scapy-2.3.3/vxlan.patch
index 556df4dd70a..71493dd742c 100644
--- a/test/patches/scapy-2.3.3/vxlan.patch
+++ b/test/patches/scapy-2.3.3/vxlan.patch
@@ -8,4 +8,5 @@ diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
+bind_layers(UDP, VXLAN, dport=4790) # RFC standard vxlan-gpe port
bind_layers(UDP, VXLAN, dport=6633) # New IANA assigned port for use with NSH
bind_layers(UDP, VXLAN, dport=8472) # Linux implementation port
++bind_layers(UDP, VXLAN, dport=48879) # RFC standard vxlan-gbp port
bind_layers(VXLAN, Ether, {'flags': 0x8})
diff --git a/test/patches/scapy-2.4/vxlan.py.patch b/test/patches/scapy-2.4/vxlan.py.patch
new file mode 100644
index 00000000000..c5876a4adbd
--- /dev/null
+++ b/test/patches/scapy-2.4/vxlan.py.patch
@@ -0,0 +1,12 @@
+diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
+index 03c3a5a..ee30f28 100644
+--- a/scapy/layers/vxlan.py
++++ b/scapy/layers/vxlan.py
+@@ -69,6 +69,7 @@ bind_layers(UDP, VXLAN, dport=4789) # RFC standard vxlan port
+ bind_layers(UDP, VXLAN, dport=4790) # RFC standard vxlan-gpe port
+ bind_layers(UDP, VXLAN, dport=6633) # New IANA assigned port for use with NSH
+ bind_layers(UDP, VXLAN, dport=8472) # Linux implementation port
++bind_layers(UDP, VXLAN, dport=48879) # iVXLAN port
+ bind_layers(UDP, VXLAN, sport=4789)
+ bind_layers(UDP, VXLAN, sport=4790)
+ bind_layers(UDP, VXLAN, sport=6633)