summaryrefslogtreecommitdiff
path: root/templates/load-balancing
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-03 09:25:43 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-05 11:50:44 -0800
commit179e84deac2d92feb68348240b8ffa2d10780b07 (patch)
tree40718019990c6422ca3d65e6eb23ab3398830f7f /templates/load-balancing
parentb989856232549bea5920c97b2165cd742a43de4c (diff)
downloadvyatta-wanloadbalance-179e84deac2d92feb68348240b8ffa2d10780b07.tar.gz
vyatta-wanloadbalance-179e84deac2d92feb68348240b8ffa2d10780b07.zip
Add range checking for TTL hop count
The hop count is limited by IP protocol. (cherry picked from commit 2a7948160df6960f5dd4718f12d150304c8d0e2d)
Diffstat (limited to 'templates/load-balancing')
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def
index 9d21cd1..559b94a 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def
@@ -1,3 +1,6 @@
type: u32
default: 1
help: Ttl limit (hop count)
+val_help: u32:1-254; Number of hops
+
+syntax:expression: $VAR(@) >=1 && $VAR(@) <= 254; "ttl limit hops must be between 1 and 254"