mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
mwan3: change log message on already added route
Only show message on already set route, if debugging is enabled. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user