diff --git a/Shorewall-shell/lib.actions b/Shorewall-shell/lib.actions index 624587a37..ec8938ed5 100644 --- a/Shorewall-shell/lib.actions +++ b/Shorewall-shell/lib.actions @@ -602,6 +602,7 @@ process_actions1() { ACCEPT|DROP|REJECT|LOG|QUEUE|CONTINUE) ;; COMMENT) + [ "$temp" = "$xtarget" ] || fatal_error "Invalid TARGET in rule \"$rule\"" ;; *) if list_search $temp $ACTIONS; then