diff options
author | bbs2web <bbs2web@hotmail.com> | 2020-01-29 06:23:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-29 07:58:58 +0100 |
commit | 03320d61917dc63f8a83bad711c02399f5df0e76 (patch) | |
tree | b921d45e5e3a21115639c4c3ec7fd8c0d88c72ad | |
parent | a7efd45bf79e316b7a60cf97f8130f58fc130bf6 (diff) | |
download | vyos-1x-03320d61917dc63f8a83bad711c02399f5df0e76.tar.gz vyos-1x-03320d61917dc63f8a83bad711c02399f5df0e76.zip |
lldp: T1994: fix jinja template to listen on specified interfaces
Signed-off-by: bbs2web <bbs2web@hotmail.com>
-rwxr-xr-x | src/conf_mode/lldp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/lldp.py b/src/conf_mode/lldp.py index 51425aaaf..90cea0f98 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 -%} |