[openwrt/openwrt] lldpd: fix -k 'lldp_no_version' row

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


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/97eb3bf76c17328f80554e6a3603de00d835e4c5

commit 97eb3bf76c17328f80554e6a3603de00d835e4c5
Author: Paul Donald <newtwen at gmail.com>
AuthorDate: Thu Feb 8 15:57:28 2024 +0100

    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 at gmail.com>
---
 package/network/services/lldpd/files/lldpd.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"




More information about the lede-commits mailing list