From 94d324d01dade852c1d08c4a77f90398ca2038d4 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 3 May 2007 02:07:04 +0000 Subject: [PATCH] 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 --- Shorewall-perl/Shorewall/Chains.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 8196acdd1..7cfe815f7 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -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