pkgsrc/net/scapy/patches/patch-ab
hasso 7c7af4b3df Update to 2.0.1. Changes are too numerous since 1.0.5 and there is no normal
changelog except log in upstream repository.

Most notably (at least for me) it adds an IPv6 support.
2009-06-09 12:30:02 +00:00

13 lines
531 B
Text

$NetBSD: patch-ab,v 1.1 2009/06/09 12:30:02 hasso Exp $
--- scapy/arch/unix.py.orig 2009-02-01 22:30:20 +0200
+++ scapy/arch/unix.py 2009-06-09 14:33:21 +0300
@@ -160,7 +160,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