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

Fix UserDict import

parent 5f3080bc
No related branches found
No related tags found
No related merge requests found
...@@ -409,7 +409,7 @@ def pcap_service_stop(askadmin=True): ...@@ -409,7 +409,7 @@ def pcap_service_stop(askadmin=True):
"""Stops the pcap adapter. Will ask for admin. Returns True if success""" """Stops the pcap adapter. Will ask for admin. Returns True if success"""
return pcap_service_control('Stop-Service', askadmin=askadmin) return pcap_service_control('Stop-Service', askadmin=askadmin)
from UserDict import UserDict from scapy.modules.six.moves import UserDict
class NetworkInterfaceDict(UserDict): class NetworkInterfaceDict(UserDict):
"""Store information about network interfaces and convert between names""" """Store information about network interfaces and convert between names"""
......
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