Skip to content

Windows: use Winpcap, drop DNET dependency #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 4, 2016
Merged
Prev Previous commit
Next Next commit
Remove unneeded list
  • Loading branch information
p-l- committed Jan 24, 2016
commit 995d8cca4c821670635715d45b8ddd5936567ced
2 changes: 1 addition & 1 deletion scapy/arch/windows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def get_working_if():
elif 'Wi-Fi' in IFACES and IFACES['Wi-Fi'].ip != '0.0.0.0':
return 'Wi-Fi'
elif len(IFACES) > 0:
return IFACES[list(IFACES.keys())[0]]
return IFACES.itervalues().next()
else:
return LOOPBACK_NAME
except:
Expand Down