summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:29:02 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 21:53:25 +0200
commit78badc8690cb06a0062694c21eb5329b830233d5 (patch)
tree3e8aee6acded0446f453fcf0dbb1000beea749ea /src/conf_mode
parent2f458f5efbd95640780554cc83fb54ec790bd4cc (diff)
downloadvyos-1x-78badc8690cb06a0062694c21eb5329b830233d5.tar.gz
vyos-1x-78badc8690cb06a0062694c21eb5329b830233d5.zip
Python/ifconfig: T1557: refactor BridgeIf 'stp_state' property to set_stp()
Diffstat (limited to 'src/conf_mode')
-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 b120ac663..ef8680c5f 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -197,7 +197,7 @@ def apply(bridge):
# set bridge priority
br.set_priority(bridge['priority'])
# turn stp on/off
- br.stp_state = bridge['stp']
+ br.set_stp(bridge['stp'])
# enable or disable IGMP querier
br.set_multicast_querier(bridge['igmp_querier'])
# update interface description used e.g. within SNMP