summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2024-02-08 14:57:28 +0000
committerRobert Marko2024-09-17 10:36:03 +0000
commit1d14e0abfc354487d27df4e0ec933f67583cf2db (patch)
tree45a820d7bec5c957a823bfa8f8d24111c64de56f
parent4ebd60b0835819a83f54ba5a8c34803cdff1ce66 (diff)
downloadopenwrt-1d14e0abfc354487d27df4e0ec933f67583cf2db.tar.gz
lldpd: fix -k 'lldp_no_version' row
Supplementary fix for PR #14193 and commit b67182008fd124706be0ec3ce67347447554ffd5 Tested on 22.03.5 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 97eb3bf76c17328f80554e6a3603de00d835e4c5) 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.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index f90b4a237c..d4642238a3 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -290,7 +290,7 @@ start_service() {
fi
[ $readonly_mode -gt 0 ] && procd_append_param command '-r'
- [ $lldp_no_version -gt 0 ] && procd_append_param commanpackage/network/services/lldpd/Makefile package/network/services/lldpd/files/lldpd.initd '-k'
+ [ $lldp_no_version -gt 0 ] && procd_append_param command '-k'
[ "$CONFIG_LLDPD_WITH_LLDPMED" == "y" ] && [ $lldpmed_no_inventory -gt 0 ] && procd_append_param command '-i'
[ -n "$lldp_class" ] && procd_append_param command -M "$lldp_class"
[ "$CONFIG_LLDPD_WITH_SNMP" == "y" ] && [ -n "$agentxsocket" ] && procd_append_param command -x -X "$agentxsocket"