Unverified Commit cd53865c authored by Marcel Stör's avatar Marcel Stör Committed by GitHub
Browse files

Bump ESP-IDF to 3.3.2 LTS (#3196)

parent 04e01fd4
......@@ -978,13 +978,13 @@ static int net_getdnsserver( lua_State* L ) {
// ip_addr_t ipaddr;
// dns_getserver(numdns,&ipaddr);
// Bug fix by @md5crypt https://github.com/nodemcu/nodemcu-firmware/pull/500
ip_addr_t ipaddr = dns_getserver(numdns);
const ip_addr_t *ipaddr = dns_getserver(numdns);
if ( ip_addr_isany(&ipaddr) ) {
if ( ip_addr_isany(ipaddr) ) {
lua_pushnil( L );
} else {
char temp[IP_STR_SZ];
ipstr (temp, &ipaddr);
ipstr (temp, ipaddr);
lua_pushstring( L, temp );
}
......
Subproject commit 143d26aa49df524e10fb8e41a71d12e731b9b71d
Subproject commit 9e70825d1e1cbf7988cf36981774300066580ea7
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment