mwan3: check removed route before removal
authorJonas Lochmann <git@inkompetenz.org>
Mon, 1 Jan 2024 00:00:00 +0000 (01:00 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 20 Feb 2024 20:53:22 +0000 (21:53 +0100)
commite119a57e97e894f0636df999d82807ae5c494030
tree5a60c6deafde3b0efbb8997a075a84569a16a6e2
parentfe736b2f8c415e6d590931f1f1f504e1d18c579b
mwan3: check removed route before removal

This makes mwan3rtmon check if mwan3_get_routes returns a route
before removing it. This helps with IPv6 routes with source address
selector removal where multiple original routes are transformed to
the same mwan3 route if one of the source routes is removed while
the others are kept.

Signed-off-by: Jonas Lochmann <git@inkompetenz.org>
net/mwan3/Makefile
net/mwan3/files/usr/sbin/mwan3rtmon