summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/conf_mode/lldp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/lldp.py b/src/conf_mode/lldp.py
index 9fd32d83f..8c57eacd3 100755
--- a/src/conf_mode/lldp.py
+++ b/src/conf_mode/lldp.py
@@ -44,7 +44,7 @@ configure system interface pattern "{{ options.listen_on | join(",") }}"
configure system ip management pattern "{{ options.addr }}"
{%- endif %}
{%- for loc in location -%}
-{%- if loc.elin -%}
+{%- if loc.elin %}
configure ports {{ loc.name }} med location elin "{{ loc.elin }}"
{%- endif %}
{% endfor %}