functions.m4: Actually set the IPv6 options.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 15 Mar 2012 02:39:08 +0000 (02:39 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 15 Mar 2012 02:39:08 +0000 (02:39 +0000)
functions.m4

index 0ebba30..3de471e 100644 (file)
@@ -183,7 +183,7 @@ setdevopt () {
     for ver in ipv4 ipv6; do
       if [ -f /proc/sys/net/$ver/conf/$i/$opt ]; then
        any=t
-       run sysctl -q net/ipv4/conf/$i/$opt="$val"
+       run sysctl -q net/$ver/conf/$i/$opt="$val"
       fi
     done
     case $any in