summaryrefslogtreecommitdiff
path: root/templates/service
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-01-31 12:53:51 -0800
committerMohit Mehta <mohit@vyatta.com>2011-02-01 22:52:26 -0800
commita1f0c06423cdb8e24caf61d0fd5edacb69792439 (patch)
treed9cf116de9f03fd516a18b883c97fd32d483c95c /templates/service
parent2802c75ec880fc7e21acd27fa50b3fc50f722587 (diff)
downloadvyatta-cfg-system-a1f0c06423cdb8e24caf61d0fd5edacb69792439.tar.gz
vyatta-cfg-system-a1f0c06423cdb8e24caf61d0fd5edacb69792439.zip
use val_help to present valid info for node
(cherry picked from commit 19f1bb4461404f91b9b4e80267dae97306925963)
Diffstat (limited to 'templates/service')
-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