X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fpatches%2Fscapy-2.3.3%2Fmpls.py.patch;h=f63a70a3cd72ea1b6d1a9fd3e9c5c1ca6e77d78c;hb=refs%2Fchanges%2F82%2F6882%2F2;hp=5c819110ddc6b53f5f4e7fda4c23a7bc1649d413;hpb=3d0723d3e085c8a69e1827e2e5607281b90576d7;p=vpp.git diff --git a/test/patches/scapy-2.3.3/mpls.py.patch b/test/patches/scapy-2.3.3/mpls.py.patch index 5c819110ddc..f63a70a3cd7 100644 --- a/test/patches/scapy-2.3.3/mpls.py.patch +++ b/test/patches/scapy-2.3.3/mpls.py.patch @@ -11,3 +11,8 @@ index 640a0c5..6af1d4a 100644 ip_version = (ord(payload[0]) >> 4) & 0xF if ip_version == 4: return IP +@@ -27,3 +29,4 @@ class MPLS(Packet): + + bind_layers(Ether, MPLS, type=0x8847) + bind_layers(GRE, MPLS, proto=0x8847) ++bind_layers(MPLS, MPLS, s=0)