summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:33:30 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 21:53:25 +0200
commit8138766884bb7fe301dc21d2cb0bd3556d169d2e (patch)
treefd75470c7006d261f235a325cdd2e4ec2fdfd4b7 /src/conf_mode/interface-bridge.py
parent78badc8690cb06a0062694c21eb5329b830233d5 (diff)
downloadvyos-1x-8138766884bb7fe301dc21d2cb0bd3556d169d2e.tar.gz
vyos-1x-8138766884bb7fe301dc21d2cb0bd3556d169d2e.zip
Python/ifconfig: T1557: refactor Interface 'link_detect' property to set_link_detect()
Diffstat (limited to 'src/conf_mode/interface-bridge.py')
-rwxr-xr-xsrc/conf_mode/interface-bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-bridge.py b/src/conf_mode/interface-bridge.py
index ef8680c5f..558ec3cc6 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -238,7 +238,7 @@ def apply(bridge):
# configure ARP cache timeout
i.arp_cache_tmo = bridge['arp_cache_tmo']
# ignore link state changes
- i.link_detect = bridge['disable_link_detect']
+ i.set_link_detect(bridge['disable_link_detect'])
return None