From 7a090934b301ab9b0168818c61bf41132044dfd5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 19 Jul 2010 12:41:16 -0700 Subject: fix typo, val_help, etc. --- templates/interfaces/loopback/node.tag/address/node.def | 2 ++ templates/interfaces/tunnel/node.tag/address/node.def | 2 ++ 2 files changed, 4 insertions(+) (limited to 'templates/interfaces') diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def index 814ddad6..ed3ab807 100644 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ b/templates/interfaces/loopback/node.tag/address/node.def @@ -1,5 +1,7 @@ multi: type: ipv4net,ipv6net +val_help: IPv4 address and prefix length +val_help: IPv6 address and prefix length help: IP address syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-set $VAR(@) --dev $VAR(../@)"; \ diff --git a/templates/interfaces/tunnel/node.tag/address/node.def b/templates/interfaces/tunnel/node.tag/address/node.def index f9c5bd74..c8826b6a 100644 --- a/templates/interfaces/tunnel/node.tag/address/node.def +++ b/templates/interfaces/tunnel/node.tag/address/node.def @@ -1,5 +1,7 @@ multi: type: ipv4net,ipv6net +val_help: IPv4 address and prefix length +val_help: IPv6 address and prefix length help: IP address syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" -- cgit v1.2.3