diff options
author | runborg <runar@13xl.com> | 2019-07-05 22:23:59 +0200 |
---|---|---|
committer | Kim <kim.sidney@gmail.com> | 2019-07-05 22:23:59 +0200 |
commit | eebb654d64fc8dafeecbda93414436a51881f776 (patch) | |
tree | 3a6de0cc5b5c64bd68c1d9195df3a565bf867514 /templates/system/ipv6/strict-dad/node.def | |
parent | cb83db1758822dbd16fa712aa6aab7005d51b154 (diff) | |
download | vyatta-cfg-system-eebb654d64fc8dafeecbda93414436a51881f776.tar.gz vyatta-cfg-system-eebb654d64fc8dafeecbda93414436a51881f776.zip |
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
Diffstat (limited to 'templates/system/ipv6/strict-dad/node.def')
-rw-r--r-- | templates/system/ipv6/strict-dad/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
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" |