lldpd: refactor out ifaces derivation; reuse function
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 21:05:11 +0000 (22:05 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 17 Sep 2024 10:36:03 +0000 (12:36 +0200)
commitb88694869247cb1eaa9aca11a3d4e0f5f4f5ee6b
tree97ebd5537a449227fbd67b7903728ad3a6f4c15e
parent74581b02b292816331de445948eae3a54fc586b7
lldpd: refactor out ifaces derivation; reuse function

from commit 909f0630663d7ae1471c76154516e3299992a150

Now pass two params to get_config_cid_ifaces() for:

cid_interface
interface

Each of which is a CSV of interfaces.

Tested on 22.03.5

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