lldpd: get_config_cid_ifaces() -> get_interface_csv()
authorPaul Donald <newtwen+github@gmail.com>
Sun, 21 Apr 2024 21:18:36 +0000 (23:18 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 25 Mar 2025 08:54:08 +0000 (09:54 +0100)
commitf856aff0f69e5ce7f1303d615893536df2822f46
treeb2ee79434415fa2329fcc82554b41ca12dae1625
parentdc84b287b5df0adac9818645e016f5d16cab417d
lldpd: get_config_cid_ifaces() -> get_interface_csv()

where csv = comma separated value(s)

Make the function more generic. Can use it for not only 'config'.

Now it can be used to parse interfaces for additional lldpd settings,
e.g. custom-tlv.

Tested on: 22.03.6

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/14872
(cherry picked from commit a015f59880c72a1bdd07de32491f85ce7f8d2a1c)
Link: https://github.com/openwrt/openwrt/pull/18344
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/lldpd/files/lldpd.init