Fixed some uissues with detection of loacl ip address.

FossilOrigin-Name: 6437630df2aef4adc7b8a58d374bf3fa175e04e2cf8685ce56d6ec5fee269803
This commit is contained in:
7u83@mail.ru
2016-03-18 22:32:26 +00:00
parent 4a91a10b34
commit 3dfb5203ce
2 changed files with 11 additions and 10 deletions

View File

@ -151,6 +151,11 @@ int read_config(const char * filename){
if (str)
conf_mtu_discovery = atoi(str);
str = uci_lookup_option_string(ctx,section,"interface");
if (str)
conf_primary_if=strdup(str);
str = uci_lookup_option_string(ctx,section,"ssl_key");
if (str)
conf_sslkeyfilename=strdup(str);