From: Mark Wooding Date: Thu, 15 Mar 2012 02:39:08 +0000 (+0000) Subject: functions.m4: Actually set the IPv6 options. X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/commitdiff_plain/4224a17b2d6e6b2dd82b6b056dc271270beaea3e functions.m4: Actually set the IPv6 options. --- diff --git a/functions.m4 b/functions.m4 index 16c07c8..27bacc6 100644 --- a/functions.m4 +++ b/functions.m4 @@ -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