[LEDE-DEV] [PATCH] igmpproxy: Set logopts to "-d" to prevent spamming the system log

Dmitry Tunin hanipouspilot at gmail.com
Mon May 15 13:04:50 PDT 2017


This option redirects the igmpproxy to STDERR instead of system log.
Without this option the system log is unusable because igmpproxy warns about
every SSDP package recieved from wan.

Signed-off-by: Dmitry Tunin <hanipouspilot at gmail.com>
---
 package/network/services/igmpproxy/files/igmpproxy.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init
index 9f4e51a..394958c 100644
--- a/package/network/services/igmpproxy/files/igmpproxy.init
+++ b/package/network/services/igmpproxy/files/igmpproxy.init
@@ -103,7 +103,7 @@ service_triggers() {
 start_service() {
 	has_upstream=
 	netdevs=
-	logopts=
+	logopts="-d"
 	config_load igmpproxy
 
 	config_foreach igmp_header igmpproxy
-- 
2.7.4




More information about the Lede-dev mailing list