Ticket #141 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Quick patch to arch/unix.py

Reported by: ian@mahuron.org Assigned to: pbi
Priority: major Milestone:
Component: Scapy Version: 2.0.0.x
Keywords: Cc:

Description

Other platform checks use explicit package, I'm not sure how these two slipped by. 2.0.0.9 beta runs well on FreeBSD 7.0-STABLE. Thanks!

*** unix.py Tue Sep 30 13:45:56 2008 *** 152,158 ****

ok = l.find('Destination') continue

# gv 12/12/06: under debugging

! 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]

--- 152,158 ----

ok = l.find('Destination') continue

# gv 12/12/06: under debugging

! if NETBSD or OPENBSD:

d,nh,fl,_,_,_,dev = l.split()[:7]

else: # FREEBSD or DARWIN

d,nh,fl,dev = l.split()[:4]

Attachments

Change History

10/01/08 17:46:49 changed by pbi

  • status changed from new to closed.
  • resolution set to fixed.

Already fixed in [206506ed34db]


Add/Change #141 (Quick patch to arch/unix.py)




Change Properties
Action