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:52:55 +0000 (09:52 +0100)
commitbde35a6c7d211ca88c4b4af7f63f9c7c5cebfa07
treef92270ae3c0abed9e08309245e74635e368a2f2e
parent9e63e2410d7896f114eba6efa26ad3815716256e
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/18343
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/lldpd/files/lldpd.init