From 19cae8e57885034002b3773b289d9f9086937ddc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 24 Sep 2019 19:09:26 +0200 Subject: Python/ifconfig: T1557: refactor BondIf 'xmit_hash_policy' property to set_hash_policy() --- src/conf_mode/interface-bonding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py index c7adb0f9a..e8e22e305 100755 --- a/src/conf_mode/interface-bonding.py +++ b/src/conf_mode/interface-bonding.py @@ -378,7 +378,7 @@ def apply(bond): # ignore link state changes b.set_link_detect(bond['disable_link_detect']) # Bonding transmit hash policy - b.xmit_hash_policy = bond['hash_policy'] + b.set_hash_policy(bond['hash_policy']) # configure ARP cache timeout in milliseconds b.set_arp_cache_tmo(bond['ip_arp_cache_tmo']) # Enable proxy-arp on this interface -- cgit v1.2.3