aboutsummaryrefslogtreecommitdiffstats
path: root/test/patches
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-12-13 02:47:27 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-13 15:14:49 +0000
commit8716e6bf43b7043790980c6ef0bd21d42b34a2a1 (patch)
treeed8208c2827eeb916d71025b2ee86a28b19dc7ca /test/patches
parent51e759fd0655b6089360e1ccf2f5341704549fd4 (diff)
GRE: fix single loop decap and add test
Change-Id: I64e8a76a17057ae69de72a5a80c0a194cd0c21cb Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/patches')
-rw-r--r--test/patches/scapy-2.3.3/inet6.py.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/patches/scapy-2.3.3/inet6.py.patch b/test/patches/scapy-2.3.3/inet6.py.patch
index f98e70915ca..cf3217eb672 100644
--- a/test/patches/scapy-2.3.3/inet6.py.patch
+++ b/test/patches/scapy-2.3.3/inet6.py.patch
@@ -183,3 +183,12 @@ diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
########################### Fragmentation Header ############################
class IPv6ExtHdrFragment(_IPv6ExtHdr):
+diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
+index 20afedf..ae3c4dd 100644
+--- a/scapy/layers/inet6.py
++++ b/scapy/layers/inet6.py
+@@ -3888,3 +3888,4 @@ bind_layers(IPv6, UDP, nh = socket.IPPROTO_UDP )
+ bind_layers(IP, IPv6, proto = socket.IPPROTO_IPV6 )
+ bind_layers(IPv6, IPv6, nh = socket.IPPROTO_IPV6 )
+ bind_layers(IPv6, IP, nh = socket.IPPROTO_IPIP )
++bind_layers(IPv6, GRE, nh = socket.IPPROTO_GRE )