mwan3: remove unused variable complained by shellcheck

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 644d9a25df)
This commit is contained in:
Florian Eckert 2020-07-14 09:42:17 +02:00
parent 3443eb3c7d
commit c0b111feab

View file

@ -1146,8 +1146,6 @@ mwan3_report_policies_v6()
mwan3_report_connected_v4() mwan3_report_connected_v4()
{ {
local address
if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then
$IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3 $IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3
fi fi
@ -1155,8 +1153,6 @@ mwan3_report_connected_v4()
mwan3_report_connected_v6() mwan3_report_connected_v6()
{ {
local address
if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then
$IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3 $IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3
fi fi