Commit b4166400 authored by nanahira's avatar nanahira

fix for empty bridge

parent ce6fc867
......@@ -58,7 +58,7 @@ iface {{vlan.link}}.{{vlan.tag}} inet6 manual
auto {{br.name}}
allow-hotplug {{br.name}}
iface {{br.name}} inet {{br.type}}
{% if br.links %}
{% if br.links and br.links | length > 0 %}
bridge_ports{% for link in br.links %} {{link}}{% endfor %}
{% endif %}
......
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