summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/firewall/modify/node.tag/rule/node.tag/icmp/type-name/node.def7
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/icmp/type-name/node.def7
2 files changed, 2 insertions, 12 deletions
diff --git a/templates/firewall/modify/node.tag/rule/node.tag/icmp/type-name/node.def b/templates/firewall/modify/node.tag/rule/node.tag/icmp/type-name/node.def
index 413f817..f61945c 100644
--- a/templates/firewall/modify/node.tag/rule/node.tag/icmp/type-name/node.def
+++ b/templates/firewall/modify/node.tag/rule/node.tag/icmp/type-name/node.def
@@ -12,12 +12,7 @@ array=(any echo-reply destination-unreachable network-unreachable
ttl-zero-during-reassembly parameter-problem ip-header-bad
required-option-missing timestamp-request timestamp-reply
address-mask-request address-mask-reply)
-len=${#array[*]}
-i=0
-while [ $i -lt $len ]; do
- echo "${array[$i]}"
- let i++
-done
+echo -n ${array[@]}
syntax:expression: exec "
array=(any echo-reply destination-unreachable network-unreachable
diff --git a/templates/firewall/name/node.tag/rule/node.tag/icmp/type-name/node.def b/templates/firewall/name/node.tag/rule/node.tag/icmp/type-name/node.def
index 413f817..f61945c 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/icmp/type-name/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/icmp/type-name/node.def
@@ -12,12 +12,7 @@ array=(any echo-reply destination-unreachable network-unreachable
ttl-zero-during-reassembly parameter-problem ip-header-bad
required-option-missing timestamp-request timestamp-reply
address-mask-request address-mask-reply)
-len=${#array[*]}
-i=0
-while [ $i -lt $len ]; do
- echo "${array[$i]}"
- let i++
-done
+echo -n ${array[@]}
syntax:expression: exec "
array=(any echo-reply destination-unreachable network-unreachable