net/mwan3: add custom address from ip tables to connected ipset

With the list param "rt_table_lookup" in the mwan3 section globals,
it is now possible to add a additional routing table numbers which would get
also parsed and will be added to the connected network.
So mwan3 will treat them as they are directly connected to this device.

This could be usefull if we use ipsec.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2018-10-15 11:22:35 +02:00
parent 1335e4f3dd
commit dcb7ad17ba
2 changed files with 41 additions and 0 deletions
@@ -19,6 +19,7 @@ config_get_bool enabled globals 'enabled' '0'
mwan3_lock
mwan3_init
mwan3_set_connected_iptables
mwan3_set_custom_ipset
mwan3_unlock
config_get enabled $INTERFACE enabled 0