diff --git a/Shorewall/lib.actions b/Shorewall/lib.actions index d16248b70..8789a4ace 100644 --- a/Shorewall/lib.actions +++ b/Shorewall/lib.actions @@ -761,7 +761,7 @@ process_action3() { ;; COMMENT) if [ -n "$COMMENTS" ]; then - comment=($xclients $xservers $xprotocol $xports $xcports $xaddress $xratelimit $xuserspec) + comment=$(echo $xclients $xservers $xprotocol $xports $xcports $xaddress $xratelimit $xuserspec) save_command COMMENT=\"$comment\" else error_message "COMMENT ignored -- requires comment support in iptables/Netfilter"