mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Catch missing action in rules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6433 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
9673cb56fd
commit
95418990fe
@ -1193,6 +1193,8 @@ sub process_rule ( $$$$$$$$$$ ) {
|
||||
|
||||
my $action = isolate_basic_target $target;
|
||||
|
||||
fatal_error "Invalid or missing ACTION ( $target )" unless defined $action;
|
||||
|
||||
$optimize = 0 if $action =~ /!$/;
|
||||
|
||||
if ( $source eq 'all' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user