summaryrefslogtreecommitdiff
path: root/src/conf_mode/lldp.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/lldp.py')
-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 978297b56..26a653ec0 100755
--- a/src/conf_mode/lldp.py
+++ b/src/conf_mode/lldp.py
@@ -38,7 +38,7 @@ vyos_tmpl = """
configure system platform VyOS
configure system description "VyOS {{ options.description }}"
-{%- if listen_on -%}
+{% if options.listen_on -%}
configure system interface pattern "{{ options.listen_on | join(",") }}"
{%- endif %}
{% if options.mgmt_addr -%}