interface: fix interface memory corruption
authorFelix Fietkau <nbd@nbd.name>
Tue, 21 Nov 2023 05:45:09 +0000 (06:45 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Nov 2023 05:48:33 +0000 (06:48 +0100)
commit9040335e102b83a2dd7df64aa88d0dd762d78a86
tree59784a6e268f497291813d8ada81083f302d9c4b
parentd45c443aa1e6514aab58bbbf9311913e484d31a6
interface: fix interface memory corruption

- set vlist keep_old=true, because the iface_update_cb expects it
- update ifindex on reload

Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface.c