summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2024-02-08 19:26:13 +0000
committerRobert Marko2024-09-17 10:36:03 +0000
commitb1ddf0a859cdd257aa0cae823e34515fa0d29582 (patch)
treefad40453cdee673a2741cc490e6f686525d5b241
parentc0217ef8f82c206240cab9f35d5e85a8bd8be28a (diff)
downloadopenwrt-b1ddf0a859cdd257aa0cae823e34515fa0d29582.tar.gz
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@gmail.com> (cherry picked from commit 4fb8fea6de363aeeeca029ed9801b85cdbf45f0c) Link: https://github.com/openwrt/openwrt/pull/15299 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/network/services/lldpd/files/lldpd.init3
1 files changed, 2 insertions, 1 deletions
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