summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-01-31 12:53:51 -0800
committerMohit Mehta <mohit@vyatta.com>2011-01-31 12:53:51 -0800
commit19f1bb4461404f91b9b4e80267dae97306925963 (patch)
treea8e2f601c447467a9f8bc0ef35b2dc209a903320
parent9f64ee9abb10801d22e949b8ffaa20c4667b7461 (diff)
downloadvyatta-cfg-quagga-19f1bb4461404f91b9b4e80267dae97306925963.tar.gz
vyatta-cfg-quagga-19f1bb4461404f91b9b4e80267dae97306925963.zip
use val_help to present valid info for node
-rw-r--r--templates/service/dns/dynamic/interface/node.tag/service/node.tag/server/node.def2
-rw-r--r--templates/service/dns/forwarding/cache-size/node.def1
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/service/dns/dynamic/interface/node.tag/service/node.tag/server/node.def b/templates/service/dns/dynamic/interface/node.tag/service/node.tag/server/node.def
index 04ef5e18..247755a1 100644
--- a/templates/service/dns/dynamic/interface/node.tag/service/node.tag/server/node.def
+++ b/templates/service/dns/dynamic/interface/node.tag/service/node.tag/server/node.def
@@ -1,2 +1,4 @@
help: Server to send DDNS update to (IP address|hostname)
type: txt
+val_help: ipv4; IP address of DDNS server
+val_help: <hostname>; Hostname of DDNS server
diff --git a/templates/service/dns/forwarding/cache-size/node.def b/templates/service/dns/forwarding/cache-size/node.def
index 1b1a33e6..9285dbbd 100644
--- a/templates/service/dns/forwarding/cache-size/node.def
+++ b/templates/service/dns/forwarding/cache-size/node.def
@@ -2,3 +2,4 @@ type: u32
default:150
help: DNS forwarding cache size
syntax:expression: ($VAR(@) >=0 && $VAR(@) < 10001) ; "Cache size must be between 0 and 10000"
+val_help: u32:0-10000; DNS forwarding cache size