forked from extern/shorewall_code
Fix some rule problems -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6155 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c1d6faf509
commit
e596c92d74
@ -197,7 +197,7 @@ use constant { STANDARD => 1, #defined by Netfilter
|
||||
#
|
||||
our %targets = ('ACCEPT' => STANDARD,
|
||||
'ACCEPT+' => STANDARD + NONAT,
|
||||
'ACCEPT-' => STANDARD
|
||||
'ACCEPT-' => STANDARD,
|
||||
'ACCEPT!' => STANDARD,
|
||||
'NONAT' => STANDARD + NONAT + NATONLY,
|
||||
'DROP' => STANDARD,
|
||||
|
@ -912,6 +912,8 @@ sub process_rule1 ( $$$$$$$$$ ) {
|
||||
$action = 'reject';
|
||||
} elsif ( $action eq 'CONTINUE' ) {
|
||||
$action = 'RETURN';
|
||||
} elsif ( $actiontype & LOGRULE ) {
|
||||
fatal_error 'LOG requires a log level' unless defined $loglevel and $loglevel ne '';
|
||||
}
|
||||
#
|
||||
# Isolate and validate source and destination zones
|
||||
|
Loading…
Reference in New Issue
Block a user