summaryrefslogtreecommitdiff
path: root/data/templates/lldp/lldpd.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-26 16:30:10 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-26 16:49:17 +0100
commit291558023bbd1bdbef6e00c4eec173cf5c9575d8 (patch)
tree8ebd17bb25c2b85b272390f44885adb2f49c10b5 /data/templates/lldp/lldpd.tmpl
parente1c5f629fa310251e0516ac59fb5429b9e83d7fa (diff)
downloadvyos-1x-291558023bbd1bdbef6e00c4eec173cf5c9575d8.tar.gz
vyos-1x-291558023bbd1bdbef6e00c4eec173cf5c9575d8.zip
lldp: T4272: migrate to get_config_dict()
Diffstat (limited to 'data/templates/lldp/lldpd.tmpl')
-rw-r--r--data/templates/lldp/lldpd.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/lldp/lldpd.tmpl b/data/templates/lldp/lldpd.tmpl
index 3db955b48..819e70c84 100644
--- a/data/templates/lldp/lldpd.tmpl
+++ b/data/templates/lldp/lldpd.tmpl
@@ -1,3 +1,2 @@
### Autogenerated by lldp.py ###
-DAEMON_ARGS="-M 4{% if options.snmp %} -x{% endif %}{% if options.cdp %} -c{% endif %}{% if options.edp %} -e{% endif %}{% if options.fdp %} -f{% endif %}{% if options.sonmp %} -s{% endif %}"
-
+DAEMON_ARGS="-M 4{% if snmp is defined and snmp.enable is defined %} -x{% endif %}{% if legacy_protocols is defined and legacy_protocols.cdp is defined %} -c{% endif %}{% if legacy_protocols is defined and legacy_protocols.edp is defined %} -e{% endif %}{% if legacy_protocols is defined and legacy_protocols.fdp is defined %} -f{% endif %}{% if legacy_protocols is defined and legacy_protocols.sonmp is defined %} -s{% endif %}"