diff --git a/juniper-macros.j2 b/juniper-macros.j2 index 7c1413c..4169bb8 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -113,7 +113,7 @@ chassis { {% macro interfaceconfig(interface,rack = None) %} -{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan %} +{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan -%} {{ interface.name }} { {% if interface.description %} description "{{ interface.description }}"; @@ -196,7 +196,7 @@ chassis { {% endif %} {% endif %} } -{%- endif %} +{%- endif -%} {%- endmacro %} {% macro interfacesection(device,vlans) %}