From a1f0c06423cdb8e24caf61d0fd5edacb69792439 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 31 Jan 2011 12:53:51 -0800 Subject: use val_help to present valid info for node (cherry picked from commit 19f1bb4461404f91b9b4e80267dae97306925963) --- .../dns/dynamic/interface/node.tag/service/node.tag/server/node.def | 2 ++ templates/service/dns/forwarding/cache-size/node.def | 1 + 2 files changed, 3 insertions(+) (limited to 'templates/service') 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 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 -- cgit v1.2.3