mwan3: fix IPv6 routing add handling 12814/head
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 16 Jul 2020 13:08:04 +0000 (15:08 +0200)
committerAaron Goodman <aaronjg@stanford.edu>
Mon, 20 Jul 2020 03:24:13 +0000 (23:24 -0400)
commit8e3e6f8dde654bdf2f1e1cf7bac6c0a2894a3fe8
tree88f9d6ad5f5dd8c0f816c0c46ecf15c04d4bee51
parenta796b7a84e8bce84b01c5fb23e6e5953e643b57d
mwan3: fix IPv6 routing add handling

This fixes routing handling. Introduced with the last version update.
The following message disappears on the shell
when mwan3 is called with 'mwna3 restart`.

`Error: Invalid gateway address.`

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fully unset variable and handle ipv4 as well]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/mwan3/files/lib/mwan3/mwan3.sh