diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-02 11:31:21 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-02 11:31:21 -0800 |
commit | 28739d06c9442229ded7393b9cdd5affdfd6e6b2 (patch) | |
tree | 2695c2fe418a2c343db8f6833cc2f5e55d3ba13f | |
parent | 3030728407b3d6d03c7ba6c846560e5e57162048 (diff) | |
download | vyatta-cfg-system-28739d06c9442229ded7393b9cdd5affdfd6e6b2.tar.gz vyatta-cfg-system-28739d06c9442229ded7393b9cdd5affdfd6e6b2.zip |
Fix delete of mac address on bonding interface
Bug 6489
Bonding device is a pseudo-device without hw-id, so deleting mac
does nothing.
-rw-r--r-- | templates/interfaces/bonding/node.tag/mac/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/mac/node.def b/templates/interfaces/bonding/node.tag/mac/node.def index 9b5feacd..c315af71 100644 --- a/templates/interfaces/bonding/node.tag/mac/node.def +++ b/templates/interfaces/bonding/node.tag/mac/node.def @@ -3,5 +3,4 @@ help: Media Access Control (MAC) address syntax:expression: exec "\ /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../@) --valid-mac $VAR(@)" update: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../@) --set-mac $VAR(@) -delete: /opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(../@) --set-mac $VAR(../hw-id/@) - +# delete does nothing since there is no hardware original value |