chiark / gitweb /
functions.m4: Actually set the IPv6 options.
[firewall] / functions.m4
index 16c07c8c7cc1dc3ae3509b35c23365eeb903575c..27bacc6de3fda6d59a82a68358ad7de12afc72ba 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