From a6606bed17bbddb7ae10405f6b0358fdda26fd17 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 14 Sep 2022 14:46:58 +0200 Subject: [PATCH] mwan3: change log message on already added route Only show message on already set route, if debugging is enabled. Signed-off-by: Florian Eckert --- net/mwan3/files/lib/mwan3/mwan3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index f48a145cb6..1bfb767e86 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -483,7 +483,7 @@ mwan3_create_iface_route() # if 'connected' was called after 'ifup' [ -n "$tbl" ] && [ -z "${tbl##*$route_line$'\n'*}" ] && continue $IP route add table $id $route_line || - LOG warn "failed to add $route_line to table $id" + LOG debug "Route '$route_line' already added to table $id" fi done -- 2.30.2