From: Florian Eckert Date: Wed, 14 Sep 2022 12:46:58 +0000 (+0200) Subject: mwan3: change log message on already added route X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d1f90b7ba869de922267960a1b90ff87ce0ebe4;p=feed%2Fpackages.git mwan3: change log message on already added route Only show message on already set route, if debugging is enabled. Signed-off-by: Florian Eckert (cherry picked from commit a6606bed17bbddb7ae10405f6b0358fdda26fd17) --- 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