[openwrt/openwrt] lldpd: fix a paste error from commit 1be2088a5247b2cfabe8be991c1e52ddaf780a16

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 11 01:58:27 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4fb8fea6de363aeeeca029ed9801b85cdbf45f0c

commit 4fb8fea6de363aeeeca029ed9801b85cdbf45f0c
Author: Paul Donald <newtwen at gmail.com>
AuthorDate: Thu Feb 8 20:26:13 2024 +0100

    lldpd: fix a paste error
    from commit 1be2088a5247b2cfabe8be991c1e52ddaf780a16
    
    The original PR #13018 did not exhibit this.
    
    Tested on 22.03.5
    
    Signed-off-by: Paul Donald <newtwen at gmail.com>
---
 package/network/services/lldpd/files/lldpd.init | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index c6d7b82c2c..fc24b9f7cd 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -75,7 +75,8 @@ get_config_restart_hash() {
 }
 
 get_config_cid_ifaces() {
-	local _ifacesCONFIG_LLDPD_WITH_FDP
+	local _ifaces
+	config_get _ifaces 'config' 'cid_interface'
 
 	local _iface _ifnames=""
 	for _iface in $_ifaces; do




More information about the lede-commits mailing list