Add CONTINUE keyword to the masq file

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-20 18:09:59 -07:00
parent 0423769f59
commit c20611b6c0

View File

@ -177,6 +177,8 @@ sub process_one_masq( )
if ( $addresses =~ /^SAME/ ) {
fatal_error "The SAME target is no longer supported";
} elsif ( $addresses eq 'CONTINUE' ) {
$target = 'ACCEPT';
} elsif ( $addresses eq 'detect' ) {
my $variable = get_interface_address $interface;
$target = "SNAT --to-source $variable";