mwan3: add connecting and disconnecting event to mwan3track 14996/head
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 2 Mar 2021 15:04:49 +0000 (16:04 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 16 Mar 2021 08:24:36 +0000 (09:24 +0100)
commit5348732b98818e7e3c02c84eea1beaae1e5bf580
tree7c35a057b8c3d82d88f5b54517d5a6ed5e6aea2a
parentcf8cb8541ff8b979b24adff1ea9282ce2935846b
mwan3: add connecting and disconnecting event to mwan3track

If the interface goes into failure state (is disconnecting)
then with this change one hotplug.d event is generated.

The same is true for the recovery state (is connecting), when the interface
comes back from a failure state.

In both cases, a hotplug.d event for the iface is triggered. Once
with the $ACTION=disconnecting and once for the $ACTION=connecting.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/Makefile
net/mwan3/files/usr/sbin/mwan3track