mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
adaptations for lwIP-v1.4 (#5682)
* adaptations for lwIP-v1.4 * add lwIP-v1.4 in CI
This commit is contained in:
@ -182,7 +182,7 @@ void ESP8266NetBIOS::_recv(udp_pcb *upcb, pbuf *pb, CONST ip_addr_t *addr, uint1
|
||||
size_t len = pb->len;
|
||||
#if LWIP_VERSION_MAJOR == 1
|
||||
// check UdpContext.h
|
||||
const ip_addr_t* saddr = ¤t_iphdr_src;
|
||||
ip_addr_t* saddr = ¤t_iphdr_src;
|
||||
#else
|
||||
// check UdpContext.h
|
||||
const ip_addr_t* saddr = &ip_data.current_iphdr_src;
|
||||
|
Reference in New Issue
Block a user