|
@@ -52,7 +52,7 @@ is_system_enabled "$FIREWALL_SYSTEM" 'FIREWALL_SYSTEM'
|
|
|
get_next_fw_rule
|
|
get_next_fw_rule
|
|
|
validate_format 'rule'
|
|
validate_format 'rule'
|
|
|
is_object_new '../../data/firewall/rules' 'RULE' "$rule"
|
|
is_object_new '../../data/firewall/rules' 'RULE' "$rule"
|
|
|
-if [ ! -z "$comment"]; then
|
|
|
|
|
|
|
+if [ ! -z "$comment" ]; then
|
|
|
validate_format 'comment'
|
|
validate_format 'comment'
|
|
|
fi
|
|
fi
|
|
|
|
|
|