22 lines
763 B
Plaintext
22 lines
763 B
Plaintext
$NetBSD: patch-aa,v 1.5 2013/06/15 20:24:19 adam Exp $
|
|
|
|
--- scapy/arch/__init__.py.orig 2010-08-10 23:09:39.000000000 +0000
|
|
+++ scapy/arch/__init__.py
|
|
@@ -50,6 +50,7 @@ NETBSD = sys.platform.startswith("netbsd
|
|
DARWIN=sys.platform.startswith("darwin")
|
|
SOLARIS=sys.platform.startswith("sunos")
|
|
WINDOWS=sys.platform.startswith("win32")
|
|
+DRAGONFLY=sys.platform.startswith("dragonfly")
|
|
|
|
X86_64 = not WINDOWS and (os.uname()[4] == 'x86_64')
|
|
|
|
@@ -71,7 +72,7 @@ if LINUX:
|
|
from linux import *
|
|
if scapy.config.conf.use_pcap or scapy.config.conf.use_dnet:
|
|
from pcapdnet import *
|
|
-elif OPENBSD or FREEBSD or NETBSD or DARWIN:
|
|
+elif OPENBSD or FREEBSD or NETBSD or DARWIN or DRAGONFLY:
|
|
from bsd import *
|
|
elif SOLARIS:
|
|
from solaris import *
|