forked from extern/shorewall_code
Revert change that added CONTINUE as a valid content of the ADDRESSES column
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a789b18615
commit
dffd98dff7
@ -177,8 +177,6 @@ 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