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:
parent
cb6a9868dc
commit
a6606bed17
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue