lldpd: fix a paste error
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 19:26:13 +0000 (20:26 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 17 Sep 2024 10:36:03 +0000 (12:36 +0200)
from commit 1be2088a5247b2cfabe8be991c1e52ddaf780a16

The original PR #13018 did not exhibit this.

Tested on 22.03.5

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

index c6d7b82c2c45d25729eb43d99556cb5e61ef3bd8..fc24b9f7cd358ed4e5e6fb9eb5c2cb476ef3ea6d 100644 (file)
@@ -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