mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Bump ESP-IDF to 3.3.2 LTS (#3196)
This commit is contained in:
parent
04e01fd4ef
commit
cd53865c78
@ -978,13 +978,13 @@ static int net_getdnsserver( lua_State* L ) {
|
|||||||
// ip_addr_t ipaddr;
|
// ip_addr_t ipaddr;
|
||||||
// dns_getserver(numdns,&ipaddr);
|
// dns_getserver(numdns,&ipaddr);
|
||||||
// Bug fix by @md5crypt https://github.com/nodemcu/nodemcu-firmware/pull/500
|
// 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 );
|
lua_pushnil( L );
|
||||||
} else {
|
} else {
|
||||||
char temp[IP_STR_SZ];
|
char temp[IP_STR_SZ];
|
||||||
ipstr (temp, &ipaddr);
|
ipstr (temp, ipaddr);
|
||||||
lua_pushstring( L, temp );
|
lua_pushstring( L, temp );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 143d26aa49df524e10fb8e41a71d12e731b9b71d
|
Subproject commit 9e70825d1e1cbf7988cf36981774300066580ea7
|
Loading…
x
Reference in New Issue
Block a user