summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:56:05 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 21:53:25 +0200
commit09f4553ffdbf3c35696f08118d75793db33cb59b (patch)
tree8944db754488689314f5cec66cde65aba4de1642 /src/conf_mode/interface-bridge.py
parent48e5ad611bc63575eb1150024939d04eb62cf400 (diff)
downloadvyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.tar.gz
vyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.zip
Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to set_set_arp_cache_tmo()
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 cadd44feb..cb053773a 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -236,7 +236,7 @@ def apply(bridge):
i = Interface(member['name'])
# configure ARP cache timeout
- i.arp_cache_tmo = bridge['arp_cache_tmo']
+ i.set_arp_cache_tmo(bridge['arp_cache_tmo'])
# ignore link state changes
i.set_link_detect(bridge['disable_link_detect'])