lldpd: note about capabilities
authorPaul Donald <newtwen+github@gmail.com>
Tue, 2 Apr 2024 11:42:35 +0000 (13:42 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 17 Sep 2024 10:36:03 +0000 (12:36 +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>
(cherry picked from commit b4769175029ad23833b21960d1b605f629537ad7)
Link: https://github.com/openwrt/openwrt/pull/15299
Signed-off-by: Robert Marko <robimarko@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'