Correct error messages when IPv6 forwarding can't be enabled

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9105 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-12-17 23:09:37 +00:00
parent 581a8100ea
commit c9e28cd64d

View File

@ -239,7 +239,7 @@ sub setup_forwarding( $ ) {
emit ( "if [ -f $file ]; then" , emit ( "if [ -f $file ]; then" ,
" echo $value > $file" ); " echo $value > $file" );
emit ( 'else' , emit ( 'else' ,
" error_message \"WARNING: Cannot set IPv4 forwarding on $interface\"" ) unless interface_is_optional( $interface); " error_message \"WARNING: Cannot set IPv6 forwarding on $interface\"" ) unless interface_is_optional( $interface);
emit "fi\n"; emit "fi\n";
} }