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:
c70e2ad
)
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, 19 Dec 2022 07:38:20 +0000
(08:38 +0100)
Only show message on already set route, if debugging is enabled.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
a6606bed17bbddb7ae10405f6b0358fdda26fd17
)
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