summaryrefslogtreecommitdiff
path: root/templates/load-balancing/wan
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-04 16:45:08 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-04 16:45:08 -0800
commit6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36 (patch)
tree866acd3d869af8af46b4352ddb7714e7fbbbe1f6 /templates/load-balancing/wan
parente357cbea7769efed1fe897dd800507bc55a15231 (diff)
downloadvyatta-wanloadbalance-6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36.tar.gz
vyatta-wanloadbalance-6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36.zip
whole raft of cli related changes. Fixed bugs in display output--added error checking on some configuration combinations. added
additional error checking in the code.
Diffstat (limited to 'templates/load-balancing/wan')
-rw-r--r--templates/load-balancing/wan/rule/node.def4
-rw-r--r--templates/load-balancing/wan/rule/node.tag/protocol/node.def5
2 files changed, 6 insertions, 3 deletions
diff --git a/templates/load-balancing/wan/rule/node.def b/templates/load-balancing/wan/rule/node.def
index 84b3ad3..b25fb93 100644
--- a/templates/load-balancing/wan/rule/node.def
+++ b/templates/load-balancing/wan/rule/node.def
@@ -1,3 +1,5 @@
tag:
-type: txt
+type: u32
help: Rule number
+
+
diff --git a/templates/load-balancing/wan/rule/node.tag/protocol/node.def b/templates/load-balancing/wan/rule/node.tag/protocol/node.def
index 1363bf1..1ce2754 100644
--- a/templates/load-balancing/wan/rule/node.tag/protocol/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/protocol/node.def
@@ -1,3 +1,4 @@
+help: "protocol"
type: txt
-help: protocol
-
+default: "all"
+syntax:expression: $VAR(@) in "all", "tcp", "udp", "icmp"; "must be (all, tcp, udp, icmp)" \ No newline at end of file