mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 03:01:27 +02:00
Merge branch '4.5.15'
Conflicts: Shorewall/Perl/Shorewall/Proc.pm
This commit is contained in:
commit
1db5741edd
@ -327,10 +327,14 @@ sub setup_interface_proc( $ ) {
|
|||||||
push @emitted, "echo $value > /proc/sys/net/ipv4/conf/$physical/accept_source_route";
|
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 ( interface_has_option( $interface, 'accept_ra' , $value ) ) {
|
if ( interface_has_option( $interface, 'accept_ra' , $value ) ) {
|
||||||
push @emitted, "echo $value > /proc/sys/net/ipv6/conf/$physical/accept_ra";
|
push @emitted, "echo $value > /proc/sys/net/ipv6/conf/$physical/accept_ra";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( @emitted ) {
|
if ( @emitted ) {
|
||||||
emit( 'if [ $COMMAND = enable ]; then' );
|
emit( 'if [ $COMMAND = enable ]; then' );
|
||||||
push_indent;
|
push_indent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user