summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-13 21:02:50 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-13 21:02:50 +0200
commit00d4b8ed90d23181352871a4593d866d9aba0f06 (patch)
treeee857b6e95c8ead33f5979612806618be1c123af /src/conf_mode/interface-bonding.py
parent87e952c83318cb591e0228a9ab84460f90ccb544 (diff)
downloadvyos-1x-00d4b8ed90d23181352871a4593d866d9aba0f06.tar.gz
vyos-1x-00d4b8ed90d23181352871a4593d866d9aba0f06.zip
bonding: T1614: use proper (previously missing) miimon property
Diffstat (limited to 'src/conf_mode/interface-bonding.py')
-rwxr-xr-xsrc/conf_mode/interface-bonding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py
index 08bc4857b..fb8837856 100755
--- a/src/conf_mode/interface-bonding.py
+++ b/src/conf_mode/interface-bonding.py
@@ -357,7 +357,7 @@ def apply(bond):
# ARP link monitoring frequency, reset miimon when arp-montior is inactive
if bond['arp_mon_intvl'] == 0:
# reset miimon to default
- b.bond_miimon = 250
+ b.miimon = 250
else:
b.arp_interval = bond['arp_mon_intvl']