summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2018-02-27 18:39:41 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2018-02-27 18:39:41 +0000
commitddd40f991d7d61a520e6122e61c04eed7474c11f (patch)
treeb043c1211d1d5b947ba0a5a49d9893f55a88e4bc /regress
parent5090ae1f036f257c3f227dbf938e77fff61b6fc1 (diff)
Do not expect an eui64 link-local source address during duplicate
address detection. The remote side may have soii, so match ICMP6 packets from any fe80::/64 address.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/netinet6/nd6/nd6_dad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sys/netinet6/nd6/nd6_dad.py b/regress/sys/netinet6/nd6/nd6_dad.py
index c2d9e80daed..d9fe8d1fd33 100644
--- a/regress/sys/netinet6/nd6/nd6_dad.py
+++ b/regress/sys/netinet6/nd6/nd6_dad.py
@@ -35,7 +35,7 @@ if os.fork() == 0:
os._exit(0)
ans=sniff(iface=LOCAL_IF, timeout=3, filter=
- "ip6 and src "+lla(REMOTE_MAC)+" and dst ff02::1 and icmp6")
+ "ip6 and src net fe80::/64 and dst ff02::1 and icmp6")
for a in ans:
if a and a.type == ETH_P_IPV6 and \
ipv6nh[a.payload.nh] == 'ICMPv6' and \