mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
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
This commit is contained in:
parent
fddc6e69ea
commit
8644d1aac0
@ -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\""
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user