summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 19:10:57 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 21:53:26 +0200
commit8befa5b2aad043dca5d2ba293a7c762f55537c7e (patch)
tree6855b16b298508bccd5adc0e30a777089b823c19 /src/conf_mode
parent19cae8e57885034002b3773b289d9f9086937ddc (diff)
downloadvyos-1x-8befa5b2aad043dca5d2ba293a7c762f55537c7e.tar.gz
vyos-1x-8befa5b2aad043dca5d2ba293a7c762f55537c7e.zip
Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to set_arp_interval()
Diffstat (limited to 'src/conf_mode')
-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 e8e22e305..d1617cb1c 100755
--- a/src/conf_mode/interface-bonding.py
+++ b/src/conf_mode/interface-bonding.py
@@ -349,7 +349,7 @@ def apply(bond):
# reset miimon to default
b.miimon = 250
else:
- b.arp_interval = bond['arp_mon_intvl']
+ b.set_arp_interval(bond['arp_mon_intvl'])
# ARP monitor targets need to be synchronized between sysfs and CLI.
# Unfortunately an address can't be send twice to sysfs as this will