diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-03 09:25:43 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-05 11:50:44 -0800 |
commit | 179e84deac2d92feb68348240b8ffa2d10780b07 (patch) | |
tree | 40718019990c6422ca3d65e6eb23ab3398830f7f | |
parent | b989856232549bea5920c97b2165cd742a43de4c (diff) | |
download | vyatta-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)
-rw-r--r-- | templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def | 3 |
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" |