summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:19:37 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 18:19:37 +0200
commit1f5bfafc572a26b84c60a2e37d2dffa1e5fc0dfb (patch)
treeb55e8e6e913f882fd3aa8c7ef5c07f5d492b149b /src
parent63dbedffa7c053e11d0ba5f538d12cbfc8b9e73f (diff)
downloadvyos-1x-1f5bfafc572a26b84c60a2e37d2dffa1e5fc0dfb.tar.gz
vyos-1x-1f5bfafc572a26b84c60a2e37d2dffa1e5fc0dfb.zip
Python/ifconfig: T1557: refactor BridgeIf 'max_age' property to set_max_age()
Diffstat (limited to 'src')
-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 0adbb0617..3690a144e 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -193,7 +193,7 @@ def apply(bridge):
# set hello time
br.hello_time = bridge['hello_time']
# set max message age
- br.max_age = bridge['max_age']
+ br.set_max_age(bridge['max_age'])
# set bridge priority
br.priority = bridge['priority']
# turn stp on/off