summaryrefslogtreecommitdiff
path: root/templates/interfaces/bonding
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-06-19 09:13:46 -0700
committerJohn Southworth <john.southworth@vyatta.com>2012-06-19 09:13:46 -0700
commit115751b4bd0218ea401d15fd2d5d9354e8c818f5 (patch)
tree144fc324ddc247bacede3e6409be376a5c9d08b3 /templates/interfaces/bonding
parent34b529bc383dbc5beef938424de03bd94a6d339e (diff)
downloadvyatta-cfg-system-115751b4bd0218ea401d15fd2d5d9354e8c818f5.tar.gz
vyatta-cfg-system-115751b4bd0218ea401d15fd2d5d9354e8c818f5.zip
Bugfix 8115: reset miimon on arp-montior deletion
Diffstat (limited to 'templates/interfaces/bonding')
-rw-r--r--templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def b/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def
index 1b88797e..010a953b 100644
--- a/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def
+++ b/templates/interfaces/bonding/node.tag/arp-monitor/interval/node.def
@@ -3,3 +3,5 @@ default: 0
help: ARP link monitoring frequency in milliseconds
update: sudo sh -c "echo $VAR(@) >/sys/class/net/$VAR(../../@)/bonding/arp_interval"
+delete: sudo sh -c 'echo 0 > /sys/class/net/$VAR(../../@)/bonding/arp_interval'
+ sudo sh -c 'echo 250 > /sys/class/net/$VAR(../../@)/bonding/miimon'