[PATCH v2 4/7] lldpd: note about capabilities

Paul Donald newtwen+github at gmail.com
Mon Apr 8 20:41:04 PDT 2024


only available from >= 1.0.15

Comments are useful. Apparently this config parameter was committed when
openwrt used an older version of lldpd which did not yet support it.

Signed-off-by: Paul Donald <newtwen+github at gmail.com>
---
 package/network/services/lldpd/files/lldpd.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index 0334156fee..284c37c2ef 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -120,6 +120,7 @@ write_lldpd_conf()
 	local lldp_mgmt_ip
 	config_get lldp_mgmt_ip 'config' 'lldp_mgmt_ip'
 
+	# Configurable capabilities in lldpd >= v1.0.15
 	local lldp_syscapabilities
 	config_get lldp_syscapabilities 'config' 'lldp_syscapabilities'
 
-- 
2.44.0




More information about the openwrt-devel mailing list