mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-21 05:41:07 +01:00
Add CONTINUE keyword to the masq file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0423769f59
commit
c20611b6c0
@ -177,6 +177,8 @@ sub process_one_masq( )
|
|||||||
|
|
||||||
if ( $addresses =~ /^SAME/ ) {
|
if ( $addresses =~ /^SAME/ ) {
|
||||||
fatal_error "The SAME target is no longer supported";
|
fatal_error "The SAME target is no longer supported";
|
||||||
|
} elsif ( $addresses eq 'CONTINUE' ) {
|
||||||
|
$target = 'ACCEPT';
|
||||||
} elsif ( $addresses eq 'detect' ) {
|
} elsif ( $addresses eq 'detect' ) {
|
||||||
my $variable = get_interface_address $interface;
|
my $variable = get_interface_address $interface;
|
||||||
$target = "SNAT --to-source $variable";
|
$target = "SNAT --to-source $variable";
|
||||||
|
Loading…
Reference in New Issue
Block a user