mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
Establish /proc/sys/net/ipv6/conf/X/forwarding during 'enable'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2381b0fd8f
commit
1139e1a09c
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user