summaryrefslogtreecommitdiff
path: root/templates/firewall/modify
diff options
context:
space:
mode:
Diffstat (limited to 'templates/firewall/modify')
-rw-r--r--templates/firewall/modify/node.tag/rule/node.tag/limit/burst/node.def1
-rw-r--r--templates/firewall/modify/node.tag/rule/node.tag/limit/rate/node.def3
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/firewall/modify/node.tag/rule/node.tag/limit/burst/node.def b/templates/firewall/modify/node.tag/rule/node.tag/limit/burst/node.def
index 2739faa..307e602 100644
--- a/templates/firewall/modify/node.tag/rule/node.tag/limit/burst/node.def
+++ b/templates/firewall/modify/node.tag/rule/node.tag/limit/burst/node.def
@@ -1,3 +1,4 @@
type: u32
+default: 1
help: Set maximum number of packets to allow in excess of rate
syntax:expression: ($VAR(@) >0) ; "Burst should be a value greater then zero"
diff --git a/templates/firewall/modify/node.tag/rule/node.tag/limit/rate/node.def b/templates/firewall/modify/node.tag/rule/node.tag/limit/rate/node.def
index de22a6f..7a3b7d0 100644
--- a/templates/firewall/modify/node.tag/rule/node.tag/limit/rate/node.def
+++ b/templates/firewall/modify/node.tag/rule/node.tag/limit/rate/node.def
@@ -5,3 +5,6 @@ syntax:expression: pattern $VAR(@) "^[[:digit:]]+/(second|minute|hour|day)$" ; \
a forward slash '/' and either of these time units - second, minute, hour or day
eg. 1/second implies rule to be matched at an average of once per second"
+comp_help:Format for rate : integer/time unit
+any one of second, minute, hour or day may be used to specify time unit
+eg. 1/second implies rule to be matched at an average of once per second