diff --git a/src/wtp/conf_uci.c b/src/wtp/conf_uci.c index d399f9d7..f3191473 100644 --- a/src/wtp/conf_uci.c +++ b/src/wtp/conf_uci.c @@ -155,6 +155,9 @@ int read_config(const char * filename){ if (str) conf_primary_if=strdup(str); + str = uci_lookup_option_string(ctx,section,"ip"); + if (str) + conf_ip=strdup(str); str = uci_lookup_option_string(ctx,section,"ssl_key"); if (str)