Fix syntax error in lib.actions

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4692 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-10-16 21:52:42 +00:00
parent 53b68c8ab3
commit 52fc432522

View File

@ -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"