1
0
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:
david gauchard
2019-01-28 22:31:59 +01:00
committed by GitHub
parent 013d01d743
commit f42bfdfc0d
9 changed files with 83 additions and 21 deletions

View File

@ -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 = &current_iphdr_src;
ip_addr_t* saddr = &current_iphdr_src;
#else
// check UdpContext.h
const ip_addr_t* saddr = &ip_data.current_iphdr_src;