Commit 93b12087 authored by Gerry Gunzenhauser's avatar Gerry Gunzenhauser

fix the fixes

parent f151526d
Pipeline #61457 passed with stages
in 4 minutes and 18 seconds
......@@ -108,6 +108,7 @@ mod gen_crs326 {
src += format!(" add bridge=switch interface=\"{}\"\n", port.new_name).as_str();
}
}
src += " /ip dhcp-client\n remove [find]\n add disabled=no interface=switch\n }\n {\n /interface ethernet switch port\n";
src += " {\n /interface bridge port\n remove [find]\n";
for port in device.ports.iter() {
......@@ -130,7 +131,7 @@ mod gen_crs326 {
}
}
src += " /interface bridge vlan\n remove [find where !dynamic]\n";
src += " }\n /interface bridge vlan\n remove [find where !dynamic]\n";
for vlan in device.get_ports_by_vlan_tagged_untagged().iter() {
src += format!(" add bridge=switch tagged=\"{}\" untagged=\"{}\" vlan-ids={}\n", (vlan.1).0.join(","), (vlan.1).1.join(","), vlan.0).as_str();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment