From 1139e1a09c32413100bec00036afe0123825e909 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 30 Mar 2013 17:26:50 -0700 Subject: [PATCH] Establish /proc/sys/net/ipv6/conf/X/forwarding during 'enable' Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Proc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Proc.pm b/Shorewall/Perl/Shorewall/Proc.pm index 05d625782..b5cca277d 100644 --- a/Shorewall/Perl/Shorewall/Proc.pm +++ b/Shorewall/Perl/Shorewall/Proc.pm @@ -297,8 +297,8 @@ sub setup_interface_proc( $ ) { push @emitted, "echo $value > /proc/sys/net/ipv4/conf/$physical/accept_source_route"; } - if ( interface_has_option( $interface, 'sourceroute' , $value ) ) { - push @emitted, "echo $value > /proc/sys/net/ipv4/conf/$physical/accept_source_route"; + if ( interface_has_option( $interface, 'forward' , $value ) ) { + push @emitted, "echo $value > /proc/sys/net/ipv6/conf/$physical/forwarding"; } if ( @emitted ) {