lldpd: note about capabilities
authorPaul Donald <newtwen+github@gmail.com>
Tue, 2 Apr 2024 11:42:35 +0000 (13:42 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 Apr 2024 11:20:40 +0000 (13:20 +0200)
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@gmail.com>
package/network/services/lldpd/files/lldpd.init

index ca09a501f6b56d6fd4ffd70d055fdc01980caa6f..6707476e553bf6607a592b11c2d7c78600cda792 100644 (file)
@@ -106,6 +106,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'