summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-03 12:02:06 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-03 12:24:14 +0200
commit3b5ce92db3a77cc29051a26ef12cad1ed52f7e69 (patch)
tree5d9fcdf9b0c01686a6b06145015b7118d8165f69 /python
parentb25d8e9787ee5243feb6b08098bbba958fe22d8c (diff)
downloadvyos-1x-3b5ce92db3a77cc29051a26ef12cad1ed52f7e69.tar.gz
vyos-1x-3b5ce92db3a77cc29051a26ef12cad1ed52f7e69.zip
Python/ifconfig: T1557: bonding: bugfix setting ARP IP target
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index 506004fa0..c69beb31a 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -1080,5 +1080,5 @@ class BondIf(Interface):
'192.0.2.1'
"""
return self._write_sysfs('/sys/class/net/{}/bonding/arp_ip_target'
- .format(self._ifname), mode)
+ .format(self._ifname), target)