summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:24:39 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 18:24:39 +0200
commit839058e95311ed6ee08f96a943c271dbf77320ed (patch)
treed6ce69df8f5a15ff99025991b2aec18fe360dcc0 /src/conf_mode/interface-bridge.py
parente41213fd082603a7c70e518e52582b7600af8589 (diff)
downloadvyos-1x-839058e95311ed6ee08f96a943c271dbf77320ed.tar.gz
vyos-1x-839058e95311ed6ee08f96a943c271dbf77320ed.zip
Python/ifconfig: T1557: refactor BridgeIf 'ageing_time' property to set_ageing_time()
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 5d97d49bc..3b18e24ab 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -187,7 +187,7 @@ def apply(bridge):
# enable interface
br.state = 'up'
# set ageing time
- br.ageing_time = bridge['aging']
+ br.set_ageing_time(bridge['aging'])
# set bridge forward delay
br.set_forward_delay(bridge['forwarding_delay'])
# set hello time