openbsd-ports/net/scapy/patches/patch-scapy_packet_py
2019-04-24 20:33:52 +00:00

28 lines
678 B
Plaintext

$OpenBSD: patch-scapy_packet_py,v 1.1 2019/04/24 20:33:53 bluhm Exp $
https://github.com/secdev/scapy/commit/b65e795c62accd383e1bb6b17cd9f7a9143ae117
Index: scapy/packet.py
--- scapy/packet.py.orig
+++ scapy/packet.py
@@ -1090,7 +1090,7 @@ values.
return self.haslayer(cls)
def route(self):
- return (None, None, None)
+ return self.payload.route()
def fragment(self, *args, **kargs):
return self.payload.fragment(*args, **kargs)
@@ -1480,6 +1480,10 @@ class NoPayload(Packet):
def command(self):
return ""
+
+ def route(self):
+ return (None, None, None)
+
####################
# packet classes #