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>
Mon, 11 Mar 2024 08:58:20 +0000 (09:58 +0100)
from commit 1be2088a5247b2cfabe8be991c1e52ddaf780a16

The original PR #13018 did not exhibit this.

Tested on 22.03.5

Signed-off-by: Paul Donald <newtwen@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