summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/loopback/node.tag/address/node.def2
-rw-r--r--templates/interfaces/tunnel/node.tag/address/node.def2
2 files changed, 4 insertions, 0 deletions
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(../@)"