diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:25:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:25:24 -0700 |
commit | 3153e4a117f0a5b2b4273c91ea6a946f55a1e0cb (patch) | |
tree | 8e2e7bf2266a66bd2c298d6a8f90449f09943fc9 /templates/interfaces/ethernet | |
parent | b93e706c85101bf8786640129253ead02c988a7f (diff) | |
download | vyatta-cfg-quagga-3153e4a117f0a5b2b4273c91ea6a946f55a1e0cb.tar.gz vyatta-cfg-quagga-3153e4a117f0a5b2b4273c91ea6a946f55a1e0cb.zip |
Use val_help: for interface MTU nodes
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/mtu/node.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/mtu/node.def index 043f335e..bb8d3ea4 100644 --- a/templates/interfaces/ethernet/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/mtu/node.def @@ -1,6 +1,7 @@ type: u32 help: Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000" +val_help:<68-9000>:Maximum Transmission Unit (MTU) update: if ! ip link set $VAR(../@) mtu $VAR(@) then echo "Error setting MTU on dev $VAR(../@)"; exit 1 fi |