- add function stop_wan6() (and use it)
- call start_wan6() only for "wan"
- start IPv6 a little earlier
- cosmetic
Note: Tomato IPv6 does not support multiwan right now!
Tested with dual-stack setup, working correct
Note: fix dual WAN feature/setup; mwan_load_balance() is dual WAN and multiwan aware
Further Note: only cosmetic for ARM branch (99,9% multiwan builds)
Note: fix dual WAN feature/setup; without calling mwan_table_del() nothing will be deleted on release and only added on renew
Tested with RT-N16 / RT-N15U
Further Note: only cosmetic for ARM branch (99,9% multiwan builds)
Note: the for-loop tried to execute the same command three times for each wan
(because we could have had 1x DNS AUTO + 2x DNS MANUAL; now we can have only 1x DNS AUTO OR 2x DNS MANUAL (not both DNS settings at same time)
--> see fix 92c50d31ca)
Example for WAN with AUTO DNS:
ip rule del table 1 pref 111 // success / 0 for i = 0
ip rule del table 1 pref 111 // non 0 for i = 1
ip rule del table 1 pref 111 // non 0 for i = 2
...
Tested with Multiwan DHCP (3 WANs), working correct
GCC 10 has no-common turned on, meaning that only one variable declaration is possible,
rest need to be extern'ed.
in mconf.c nad zconf.tab.c we had such a situation, which blocks building project on GCC-10
Sometimes libflac failed to build due to incorrect version of libgcc_s.so.1.
This is mostly for 64-bit systems. Problem was in fact that OGG_LIBS variable in m4/ogg
has hardcoded library path set to -L/lib by default, which is outside build root.
Forcing ogg library path by adding --with-ogg helps
Note: At power-on/boot/reboot/restart we just started wireless interfaces at init_main() (function start_wl()) for example.
(restart wireless twice not needed; restart introduced with multiwan feature);
last change/improvement see also 2c95d1d011
Tested with AP-Mode and Multiwan DHCP (3 WANs), working correct