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>
Fri, 20 Apr 2012 21:02:48 +0000 (22:02 +0100)
functions.m4

index 16c07c8..27bacc6 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