Correct error message

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6294 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-08 22:42:35 +00:00
parent 6d20c6672d
commit 442874f723
2 changed files with 2 additions and 1 deletions

View File

@ -1556,7 +1556,7 @@ sub expand_rule( $$$$$$$$$$ )
#
# We have non-trivial exclusion -- need to create an exclusion chain
#
fatal_error "Exclusion is not possible in CONTINUE/NONAT rules" if $disposition eq 'RETURN';
fatal_error "Exclusion is not possible in ACCEPT+/CONTINUE/NONAT rules" if $disposition eq 'RETURN';
my $echain = newexclusionchain;

View File

@ -1054,6 +1054,7 @@ sub process_rule1 ( $$$$$$$$$$ ) {
# - the destination port will be the server port
# - the destination IP will be the server IP
# - there will be no log level (we log NAT rules in the nat table rather than in the filter table).
# - the target will be ACCEPT.
#
unless ( $actiontype & NATONLY ) {
$rule = join( '', do_proto( $proto, $ports, $sports ), do_ratelimit( $ratelimit, 'ACCEPT' ), do_user $user );