File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 36
36
#define IP_SET_TYPE_VAL (x,y ) do { (void )0 ; } while (0 )
37
37
#define IP_ANY_TYPE (&ip_addr_any)
38
38
#define IP4_ADDR_ANY IPADDR_ANY
39
- #define IP4_ADDR_ANY4 IPADDR_ANY
39
+ #define IP4_ADDR_ANY4 IP_ADDR_ANY
40
40
#define IPADDR4_INIT (x ) { x }
41
41
#define CONST /* nothing: lwIP-v1 does not use const */
42
42
#define ip4_addr_netcmp ip_addr_netcmp
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ bool ESP8266NetBIOS::begin(const char *name)
156
156
}
157
157
_pcb = udp_new ();
158
158
udp_recv (_pcb, &_s_recv, (void *) this );
159
- err_t err = udp_bind (_pcb, INADDR_ANY, NBNS_PORT);
159
+ err_t err = udp_bind (_pcb, ( ip_addr_t *) INADDR_ANY, NBNS_PORT);
160
160
if (err != ERR_OK) {
161
161
end ();
162
162
return false ;
You can’t perform that action at this time.
0 commit comments