From eebb654d64fc8dafeecbda93414436a51881f776 Mon Sep 17 00:00:00 2001 From: runborg Date: Fri, 5 Jul 2019 22:23:59 +0200 Subject: T1499: Allow for usage of systemd interface mappings (#103) * T1499: Allow for usage of systemd interface mappings * T1499: Fix not working regex in ethernet interface parsing --- templates/system/ipv6/strict-dad/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/system') diff --git a/templates/system/ipv6/strict-dad/node.def b/templates/system/ipv6/strict-dad/node.def index 7f4572e9..c52de988 100644 --- a/templates/system/ipv6/strict-dad/node.def +++ b/templates/system/ipv6/strict-dad/node.def @@ -21,7 +21,7 @@ create: delete: sudo sh -c "echo 1 > /proc/sys/net/ipv6/conf/all/accept_dad" sudo sh -c "echo 1 > /proc/sys/net/ipv6/conf/default/accept_dad" - for ifname in /sys/class/net/eth* ; do + for ifname in /sys/class/net/eth* /sys/class/net/en* ; do if [ -d $ifname ]; then ifname=${ifname#/sys/class/net/} sudo sh -c "echo 1 > /proc/sys/net/ipv6/conf/$ifname/accept_dad" -- cgit v1.2.3