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

Missing import

parent 823bd4bd
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ from scapy.consts import LINUX, OPENBSD, FREEBSD, NETBSD, DARWIN, \ ...@@ -15,6 +15,7 @@ from scapy.consts import LINUX, OPENBSD, FREEBSD, NETBSD, DARWIN, \
from scapy.error import * from scapy.error import *
import scapy.config import scapy.config
from scapy.pton_ntop import inet_pton from scapy.pton_ntop import inet_pton
from scapy.data import *
def str2mac(s): def str2mac(s):
return ("%02x:"*6)[:-1] % tuple(map(ord, s)) return ("%02x:"*6)[:-1] % tuple(map(ord, s))
......
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