diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-20 11:06:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 11:06:55 +0200 |
commit | 6b46a746630288dc8d62af0a411e2079deef8a78 (patch) | |
tree | f4ce8eef6a6fd03b1ad441488f1ba812b2a2209b /data/templates/lldp | |
parent | d2540ac4c6fc05991b18cf0e2434fbb6d5f3c2cf (diff) | |
parent | 987cf1a0d62ae70fb2ff73b9686ddd60a4f8c178 (diff) | |
download | vyos-1x-6b46a746630288dc8d62af0a411e2079deef8a78.tar.gz vyos-1x-6b46a746630288dc8d62af0a411e2079deef8a78.zip |
Merge pull request #2102 from sever-sever/T5373
T5373: LLDP is running even with disable option bug
Diffstat (limited to 'data/templates/lldp')
-rw-r--r-- | data/templates/lldp/vyos.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/lldp/vyos.conf.j2 b/data/templates/lldp/vyos.conf.j2 index ec84231d8..dfa422ab8 100644 --- a/data/templates/lldp/vyos.conf.j2 +++ b/data/templates/lldp/vyos.conf.j2 @@ -4,7 +4,7 @@ configure system platform VyOS configure system description "VyOS {{ version }}" {% if interface is vyos_defined %} {% set tmp = [] %} -{% for iface, iface_options in interface.items() if not iface_options.disable %} +{% for iface, iface_options in interface.items() if iface_options.disable is not vyos_defined %} {% if iface == 'all' %} {% set iface = '*' %} {% endif %} |