pkgsrc/net/scapy/patches/patch-ab
adam 30ec1d1858 Changes 2.2.0:
This release adds a contrib section filled with old contributions that were not distributed with Scapy yet: CDP, IGMP, MPLS, CHDLC, SLARP, WPA EAPOL, DTP, EIGRP, VQP, BGP, OSPF, VTP RSVP, EtherIP, RIPng, and IKEv2. It fixes some bugs.
2013-06-15 20:24:19 +00:00

13 lines
530 B
Text

$NetBSD: patch-ab,v 1.2 2013/06/15 20:24:19 adam Exp $
--- scapy/arch/unix.py.orig 2009-02-01 22:30:20 +0200
+++ scapy/arch/unix.py 2009-06-09 14:33:21 +0300
@@ -163,7 +163,7 @@ def read_routes6():
lspl = l.split()
d,nh,fl = lspl[:3]
dev = lspl[5+mtu_present+prio_present]
- else: # FREEBSD or DARWIN
+ else: # FREEBSD or DARWIN or DRAGONFLY
d,nh,fl,dev = l.split()[:4]
if filter(lambda x: x[2] == dev, lifaddr) == []:
continue