mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
remove lwip-v1.4 specific code (#7436)
* remove lwip-v1.4 specific code * ditto * ditto * fix ip4_addr definition * CI: change debug builds to use IPv6, remove regular IPv6 builds * ditto * split pio CI in four (because they last twice the time of the other builds) * remove option from pio * remove lwIP-1.4 from doc * restore pio CI splitting * fix CI debug6 script * ditto
This commit is contained in:
@ -1203,7 +1203,7 @@ protected:
|
||||
MDNSDynamicServiceTxtCallbackFunc m_fnServiceTxtCallback;
|
||||
bool m_bPassivModeEnabled;
|
||||
stcProbeInformation m_HostProbeInformation;
|
||||
CONST netif* m_netif; // network interface to run on
|
||||
const netif* m_netif; // network interface to run on
|
||||
|
||||
/** CONTROL **/
|
||||
/* MAINTENANCE */
|
||||
|
@ -25,20 +25,6 @@
|
||||
#ifndef MDNS_LWIPDEFS_H
|
||||
#define MDNS_LWIPDEFS_H
|
||||
|
||||
#include <lwip/init.h>
|
||||
#if LWIP_VERSION_MAJOR == 1
|
||||
|
||||
#include <lwip/mdns.h> // DNS_RRTYPE_xxx
|
||||
|
||||
// cherry pick from lwip1 dns.c/mdns.c source files:
|
||||
#define DNS_MQUERY_PORT 5353
|
||||
#define DNS_MQUERY_IPV4_GROUP_INIT IPAddress(224,0,0,251) /* resolver1.opendns.com */
|
||||
#define DNS_RRCLASS_ANY 255 /* any class */
|
||||
|
||||
#else // lwIP > 1
|
||||
|
||||
#include <lwip/prot/dns.h> // DNS_RRTYPE_xxx, DNS_MQUERY_PORT
|
||||
|
||||
#endif
|
||||
|
||||
#endif // MDNS_LWIPDEFS_H
|
||||
|
Reference in New Issue
Block a user