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:
0ed7524
)
mwan3: remove unused variable complained by shellcheck
author
Florian Eckert
<fe@dev.tdt.de>
Tue, 14 Jul 2020 07:42:17 +0000
(09:42 +0200)
committer
Florian Eckert
<fe@dev.tdt.de>
Wed, 15 Jul 2020 08:21:54 +0000
(10:21 +0200)
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 adfaeb79de419707e6050b16f78e37b4000ca201..3c4f25cc4018142061aa19b018e1ad1a9739958c 100644
(file)
--- a/
net/mwan3/files/lib/mwan3/mwan3.sh
+++ b/
net/mwan3/files/lib/mwan3/mwan3.sh
@@
-1146,8
+1146,6
@@
mwan3_report_policies_v6()
mwan3_report_connected_v4()
{
- local address
-
if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then
$IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3
fi
@@
-1155,8
+1153,6
@@
mwan3_report_connected_v4()
mwan3_report_connected_v6()
{
- local address
-
if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then
$IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3
fi