diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-01 11:39:27 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-01 11:39:27 -0700 |
commit | 4e3a70dddcaa79909c13232be91a16be2262acfd (patch) | |
tree | 871eff634c197ed04cdc1ed1e5f875a407e63195 /templates/interfaces/ethernet | |
parent | 45f0f4e2336f339ec0deefcd17a1892d0274e1e6 (diff) | |
download | vyatta-cfg-4e3a70dddcaa79909c13232be91a16be2262acfd.tar.gz vyatta-cfg-4e3a70dddcaa79909c13232be91a16be2262acfd.zip |
fix cli backend bug: syntax checking for leaf value nodes involving
variable references was not working.
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/speed/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def index a986490..58347a6 100644 --- a/templates/interfaces/ethernet/node.tag/speed/node.def +++ b/templates/interfaces/ethernet/node.tag/speed/node.def @@ -1,6 +1,6 @@ type: txt help: "set the speed for this interface" syntax: $(@) in "10", "100", "1000"; "Speed must be 10, 100, or 1000" -commit: $(../duplex/@) != ""; "if speed is hardcoded, duplex must also be hardcoded" +commit: $(../duplex) != ""; "if speed is hardcoded, duplex must also be hardcoded" update: "sudo ethtool -s $(../@) speed $(@) duplex $(../duplex/@) autoneg off" delete: "sudo ethtool -s $(../@) autoneg on" |