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 3636#define IP_SET_TYPE_VAL (x,y ) do { (void )0 ; } while (0 )
3737#define IP_ANY_TYPE (&ip_addr_any)
3838#define IP4_ADDR_ANY IPADDR_ANY
39- #define IP4_ADDR_ANY4 IPADDR_ANY
39+ #define IP4_ADDR_ANY4 IP_ADDR_ANY
4040#define IPADDR4_INIT (x ) { x }
4141#define CONST /* nothing: lwIP-v1 does not use const */
4242#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)
156156 }
157157 _pcb = udp_new ();
158158 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);
160160 if (err != ERR_OK) {
161161 end ();
162162 return false ;
You can’t perform that action at this time.
0 commit comments