From 8644d1aac055574821b627fa8583587a08c998eb Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 3 May 2007 15:34:37 +0000 Subject: [PATCH] Catch invalid use of COMMENT in action body -- Take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6211 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/lib.actions | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall-shell/lib.actions b/Shorewall-shell/lib.actions index ec8938ed5..4e53373e8 100644 --- a/Shorewall-shell/lib.actions +++ b/Shorewall-shell/lib.actions @@ -602,6 +602,7 @@ process_actions1() { ACCEPT|DROP|REJECT|LOG|QUEUE|CONTINUE) ;; COMMENT) + rule="$xtarget $xclients $xservers $xprotocol $xports $xcports $xratelimit $xuserspec $xmark" [ "$temp" = "$xtarget" ] || fatal_error "Invalid TARGET in rule \"$rule\"" ;; *)