forked from extern/shorewall_code
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:
parent
581a8100ea
commit
c9e28cd64d
@ -239,7 +239,7 @@ sub setup_forwarding( $ ) {
|
||||
emit ( "if [ -f $file ]; then" ,
|
||||
" echo $value > $file" );
|
||||
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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user