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/cd97af80b48a2a208609a5f8e221cd4d8c6a5d04 functions.m4: Actually set the IPv6 options. --- diff --git a/functions.m4 b/functions.m4 index 0ebba30..3de471e 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