From bf7375668f33050a9b642e54a0266982ef579137 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 19 Jul 2010 12:22:23 -0700 Subject: Use val_help: features to format better Previous change did not format val-help tag correctly --- templates/interfaces/pseudo-ethernet/node.tag/address/node.def | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates/interfaces/pseudo-ethernet') diff --git a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def index 1c6ea9af..46ae1b69 100644 --- a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def +++ b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def @@ -6,7 +6,8 @@ syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR create:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@) delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@) allowed: echo "dhcp <>" -val_help:; IP address and prefix length -val_help:; IPv6 address and prefix length -val_help:dhcp; Dynamic Host Configuration Protocol + +val_help: ipv4; IP address and prefix length +val_help: ipv6; IPv6 address and prefix length +val_help: dhcp; Dynamic Host Configuration Protocol -- cgit v1.2.3