summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 09:50:31 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 09:50:31 -0700
commit983c23fdcb8204238220a26a279d718cd6dff821 (patch)
treea0d5cb3f37a5535fbadf96dd18ae6ce65b414301 /templates/interfaces/tunnel/node.def
parentb5ebff1894236ae188f047db78cdcdeedf47dfe1 (diff)
downloadvyatta-cfg-quagga-983c23fdcb8204238220a26a279d718cd6dff821.tar.gz
vyatta-cfg-quagga-983c23fdcb8204238220a26a279d718cd6dff821.zip
Use val_help: for interface name help
Use common method for formatting CLI style help when entering interface name. Move loopback name syntax check into CLI expression to avoid overhead of perl here.
Diffstat (limited to 'templates/interfaces/tunnel/node.def')
-rw-r--r--templates/interfaces/tunnel/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/tunnel/node.def b/templates/interfaces/tunnel/node.def
index c0e871a1..77f827ac 100644
--- a/templates/interfaces/tunnel/node.def
+++ b/templates/interfaces/tunnel/node.def
@@ -2,7 +2,7 @@ tag:
priority: 380
type: txt
help: Tunnel interface
-comp_help: Enter tunnel interface name (tun0 - tun999)
+val_help: <tunN>; Tunnel interface name
syntax:expression: pattern $VAR(@) "^tun[0-9]+$" \
; "tunnel must be (tun0-tun999)"