Fix LOG rule with level in an action

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6206 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-03 02:07:04 +00:00
parent 9f8aebe33d
commit 94d324d01d

View File

@ -1269,6 +1269,8 @@ sub expand_rule( $$$$$$$$$$ )
}
$loglevel = validate_level( $loglevel );
} elsif ( $disposition eq 'LOG' ) {
fatal_error "LOG requires a level";
}
#
# Isolate Source Interface, if any