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>
Sat, 22 Mar 2025 16:15:38 +0000 (17:15 +0100)
commita015f59880c72a1bdd07de32491f85ce7f8d2a1c
treea7b44870c7dcc458b75bf6f29d86359f7fa2e648
parent635be2a3293f00e41186934cc721b78b1f0712d4
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
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/lldpd/files/lldpd.init