summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-definitions/interfaces-bonding.xml2
-rwxr-xr-xsrc/conf_mode/interfaces-bridge.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-bonding.xml b/interface-definitions/interfaces-bonding.xml
index ba1acfff6..821dd15fa 100644
--- a/interface-definitions/interfaces-bonding.xml
+++ b/interface-definitions/interfaces-bonding.xml
@@ -5,7 +5,7 @@
<tagNode name="bonding" owner="${vyos_conf_scripts_dir}/interfaces-bonding.py">
<properties>
<help>Bonding interface name</help>
- <priority>315</priority>
+ <priority>320</priority>
<constraint>
<regex>bond[0-9]+$</regex>
</constraint>
diff --git a/src/conf_mode/interfaces-bridge.py b/src/conf_mode/interfaces-bridge.py
index 70bf4f528..d152384f7 100755
--- a/src/conf_mode/interfaces-bridge.py
+++ b/src/conf_mode/interfaces-bridge.py
@@ -264,7 +264,7 @@ def apply(bridge):
# remove interface from bridge
for intf in bridge['member_remove']:
- br.del_port( intf['name'] )
+ br.del_port(intf)
# add interfaces to bridge
for member in bridge['member']: