Commit 9a1fe4a7 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(configd/templates) remove line break from physical_interface

(cherry picked from commit 339b77d1)
parent 9dfc1feb
......@@ -2,7 +2,9 @@
macro physical_interface, return physical interface by name (e.g. lan -> em0)
#}
{% macro physical_interface(name) -%}
{% if helpers.exists('interfaces.'+name+'.if') %}
{{ helpers.getNodeByTag('interfaces.'+name+'.if') }}
{% endif %}
{%- endmacro %}
{% if helpers.exists('interfaces.'+name+'.if')
%} {{
helpers.getNodeByTag('interfaces.'+name+'.if')
}}{%
endif
%}{%- endmacro %}
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