mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 08:29:28 +01:00
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:
parent
6d20c6672d
commit
442874f723
@ -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;
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user