Skip to content
Snippets Groups Projects
Commit a7f69d1e authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

Merged in gvaladon/scapy-issues/Debian patch for GNU/kFreeBSD (pull request #79)

Look for 'freebsd' in sys.platform
parents 34f6b323 7328ec0f
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,8 @@ def get_if_hwaddr(iff): ...@@ -45,8 +45,8 @@ def get_if_hwaddr(iff):
LINUX=sys.platform.startswith("linux") LINUX=sys.platform.startswith("linux")
OPENBSD=sys.platform.startswith("openbsd") OPENBSD=sys.platform.startswith("openbsd")
FREEBSD=sys.platform.startswith("freebsd") FREEBSD= "freebsd" in sys.platform
NETBSD = sys.platform.startswith("netbsd") NETBSD=sys.platform.startswith("netbsd")
DARWIN=sys.platform.startswith("darwin") DARWIN=sys.platform.startswith("darwin")
SOLARIS=sys.platform.startswith("sunos") SOLARIS=sys.platform.startswith("sunos")
WINDOWS=sys.platform.startswith("win32") WINDOWS=sys.platform.startswith("win32")
......
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