Improve --config-check mode

The configuration checking now detects bad router options. This allows for
better coverage of the configuration with only the --config-check flag.
This commit is contained in:
Markus Makela
2016-12-03 16:54:44 +02:00
parent a64825c866
commit 6d7e419ed4
4 changed files with 36 additions and 20 deletions

View File

@ -1561,6 +1561,7 @@ global_defaults()
{
uint8_t mac_addr[6] = "";
struct utsname uname_data;
gateway.config_check = false;
gateway.n_threads = DEFAULT_NTHREADS;
gateway.n_nbpoll = DEFAULT_NBPOLLS;
gateway.pollsleep = DEFAULT_POLLSLEEP;