diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:10:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:11:49 +0200 |
commit | d80398b6542b24042961ff6eae657c58c98d93c3 (patch) | |
tree | 66fb3964a744694391b99d0b7d46378ec5be8819 /src/conf_mode/interface-bridge.py | |
parent | d77f68ef3198cff019e1e2d74dfe2290800a1ea6 (diff) | |
download | vyos-1x-d80398b6542b24042961ff6eae657c58c98d93c3.tar.gz vyos-1x-d80398b6542b24042961ff6eae657c58c98d93c3.zip |
Python/ifconfig: T1557: refactor 'mac' property to set_mac()
Diffstat (limited to 'src/conf_mode/interface-bridge.py')
-rwxr-xr-x | src/conf_mode/interface-bridge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-bridge.py b/src/conf_mode/interface-bridge.py index cb768e082..6be7d6714 100755 --- a/src/conf_mode/interface-bridge.py +++ b/src/conf_mode/interface-bridge.py @@ -205,7 +205,7 @@ def apply(bridge): # Change interface MAC address if bridge['mac']: - br.mac = bridge['mac'] + br.set_mac(bridge['mac']) # remove interface from bridge for intf in bridge['member_remove']: |