Skip to content
Snippets Groups Projects
Commit 94444ec5 authored by Phil's avatar Phil
Browse files

Fix import in arch/unix.py read_routes6() (ticket #136)

parent 36ea8fb2
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ def read_routes6():
ok = l.find('Destination')
continue
# gv 12/12/06: under debugging
if NETBSD or OPENBSD:
if scapy.arch.NETBSD or scapy.arch.OPENBSD:
d,nh,fl,_,_,_,dev = l.split()[:7]
else: # FREEBSD or DARWIN
d,nh,fl,dev = l.split()[:4]
......
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