mwan3: reset score to up+down on connected
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 4 May 2023 11:10:38 +0000 (13:10 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 8 May 2023 07:55:10 +0000 (09:55 +0200)
commit675bd01a13e93d9d1ca6b03c5427c14d142af1fd
tree6ae700274d379a67a27a8d2bb6f73dbfd1310258
parent3c9ad7df77d8bdfb7f49e2c8e13d27b5b68afd9c
mwan3: reset score to up+down on connected

Set the score value to the maximum value when the connected function is
called. The same happens with a disconnected event, the score value is
there set to zero.

Suggested-by: Anna Tikhomirova <vamp@vampik.ru>
Suggested-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 5f0461be8b149aeb5732481d38c9d69650996f8c)
net/mwan3/files/usr/sbin/mwan3track