Skip to content
Snippets Groups Projects
Commit c3d2de91 authored by Pierre Lalet's avatar Pierre Lalet Committed by GitHub
Browse files

Merge pull request #369 from guedou/bpf_windows_broken

Fix broken import on Windows
parents 35f97efc fc53ffdd
Branches
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ def str2mac(s):
return ("%02x:"*6)[:-1] % tuple(map(ord, s))
if not WINDOWS:
if not scapy.config.conf.use_pcap and not scapy.config.conf.use_dnet:
from scapy.arch.bpf.core import get_if_raw_addr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment