Skip to content
Snippets Groups Projects
Commit 0053196c authored by Pierre Lalet's avatar Pierre Lalet
Browse files

Merged in robert_gomulka/scapy/missing_ipip (pull request #117)

Add missing socket.IPPROTO_IPIP
parents 8587f78b 03f254bf
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@ if not socket.has_ipv6:
if not hasattr(socket, "IPPROTO_IPV6"):
# Workaround for http://bugs.python.org/issue6926
socket.IPPROTO_IPV6 = 41
if not hasattr(socket, "IPPROTO_IPIP"):
# Workaround for https://bitbucket.org/secdev/scapy/issue/5119
socket.IPPROTO_IPIP = 4
from scapy.config import conf
from scapy.layers.l2 import *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment