summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-16 04:01:05 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-17 19:26:07 +0200
commit7ae27756c45413e4aaf3997e4acfb96adfb25358 (patch)
tree6c62e20515c64758665c4117256b34c28e4c1363 /src
parent93d0a79a1f629bfb122c2e1a1857fc999bc86606 (diff)
netns: disable accept_dad for all interfaces
Upstream's a2d3f3e33853ef52e5f66b41c3e8ee5710aa3305 broke things in strange and confusing ways. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tests/netns.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/netns.sh b/src/tests/netns.sh
index 375868e..2d77479 100755
--- a/src/tests/netns.sh
+++ b/src/tests/netns.sh
@@ -271,6 +271,8 @@ ip2 link add dev wg0 type wireguard
configure_peers
ip1 link add veth1 type veth peer name veth2
ip1 link set veth2 netns $netns2
+n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/all/accept_dad'
+n2 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/all/accept_dad'
n1 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/veth1/accept_dad'
n2 bash -c 'printf 0 > /proc/sys/net/ipv6/conf/veth2/accept_dad'
n1 bash -c 'printf 1 > /proc/sys/net/ipv4/conf/veth1/promote_secondaries'