projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6a986
)
mwan3: change log message on already added route
author
Florian Eckert
<fe@dev.tdt.de>
Wed, 14 Sep 2022 12:46:58 +0000
(14:46 +0200)
committer
Florian Eckert
<fe@dev.tdt.de>
Mon, 17 Oct 2022 13:17:07 +0000
(15:17 +0200)
Only show message on already set route, if debugging is enabled.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/files/lib/mwan3/mwan3.sh
patch
|
blob
|
history
diff --git
a/net/mwan3/files/lib/mwan3/mwan3.sh
b/net/mwan3/files/lib/mwan3/mwan3.sh
index f48a145cb62548d182edc3c2241f50b3e478be7c..1bfb767e861fbbea4f1879b2ec160683944802e5 100644
(file)
--- 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