Compare commits

...

6 commits

Author SHA1 Message Date
Scott Shawcroft
bd522fde94
Merge pull request #4 from eightycc/issue-9837
lwIP: Update to version 2.2.1
2025-02-11 09:53:06 -08:00
eightycc
a2a23e0f6b lwIP: Add missing secondary host guard and fix mixed declaration and code error. 2025-02-10 15:20:55 -08:00
eightycc
e0253b7374 Merge commit '77dcd25a72509eb83f72b033d219b1d40cd8eb95' into issue-9837 2025-02-10 15:07:16 -08:00
eightycc
abf8c21004 Merge commit 'b6c60989645be22b9e91bcc7a81c07fff4dabaa1' into issue-9837 2025-02-10 14:47:11 -08:00
Simon Goldschmidt
77dcd25a72 Prepare 2.2.1 release 2025-02-05 20:38:17 +01:00
Simon Goldschmidt
b6c6098964 Update CHANGELOG in preparation for 2.2.1 release 2025-02-05 20:34:17 +01:00
5 changed files with 53 additions and 4 deletions

View file

@ -6,11 +6,58 @@ HISTORY
* [Enter new changes just after this line - do not remove this line]
(STABLE-2.2.1):
++ New features:
2023-10-11: Faidon Liambotis
* Add MEM_CUSTOM_ALLOCATOR and make LIBC a subset of it
2023-09-29: Jiri Findejs
* mqtt: support binary Will Message
++ Bugfixes:
2024-02-19: Simon Goldschmidt
* tcpip: fix that TCPIP_CORE_LOCK is not released for LWIP_TIMERS==0
2024-01-09: Simon Goldschmidt
* snmp v3, ppp: prevent possible timing attacks by using a constant-runtime-memcmp when
checking credentials
2023-01-04: Simon Goldschmidt
* makefsdata: update tinydir.h to newest version (1.2.6)
2023-10-12: Borys Szefler
* dhcp: fix memory corruption when LWIP_DHCP_MAX_DNS_SERVERS > DNS_MAX_SERVERS
2023-10-11: Mazakazu
* sockets: fix socket leak when using setsockopt/getsockopt hook with LWIP_NETCONN_FULLDUPLEX==1
2023-10-10: Simon Goldschmidt
* sockets: fix bug #63898: allow socket option IPV6_CHECKSUM for both IPPROTO_IPV6 and IPPROTO_RAW
2023-10-10: Simon Goldschmidt
* ipv6: fix ip6_current_header() after reassembly
2023-10-07: Simon Goldschmidt
* ipv6 reassembly: fix detecting holes in reassembled packets
2023-10-04: Simon Goldschmidt
* apps: http client: improve the HTTP client; ensure connection settings are passed
2023-10-03: Simon Goldschmidt
* ipv6: frag: fix bogus icmp6 response on reassembly timeout
2023-09-28: Szabolcs Szekelyi
* httpd: ensure headers are parsed case-insensitive
2023-09-28: Erik Ekman
* Fix ND6 Router Advertisement parsing when NETIF_MAX_HWADDR_LEN is above 6.
2023-09-27: Hardy Griech
* Fix iperf byte counting mode
(STABLE-2.2.0):
2018-10-02: Dirk Ziegelmeier

View file

@ -38,7 +38,7 @@ PROJECT_NAME = "lwIP"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = "2.2.1.dev"
PROJECT_NUMBER = "2.2.1"
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a

View file

@ -18,7 +18,7 @@ set(LWIP_VERSION_REVISION "1")
# LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases
# LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for Git versions
# Numbers 1..31 are reserved for release candidates
set(LWIP_VERSION_RC "LWIP_RC_DEVELOPMENT")
set(LWIP_VERSION_RC "LWIP_RC_RELEASE")
if ("${LWIP_VERSION_RC}" STREQUAL "LWIP_RC_RELEASE")
set(LWIP_VERSION_STRING

View file

@ -335,9 +335,11 @@ mdns_add_aaaa_answer(struct mdns_outpacket *reply, struct mdns_outmsg *msg,
struct mdns_domain host;
struct mdns_host* mdns = netif_mdns_data(netif);
const char* hostname = mdns->name;
#if MDNS_MAX_SECONDARY_HOSTNAMES > 0
if (reply->host_index > 0) {
hostname = mdns->secondary_hostnames[reply->host_index - 1];
}
#endif
mdns_build_host_domain(&host, hostname);
/* When answering to a legacy querier, we need to repeat the question and
* limit the ttl to the short legacy ttl */
@ -467,9 +469,9 @@ mdns_add_srv_answer(struct mdns_outpacket *reply, struct mdns_outmsg *msg,
u32_t ttl = MDNS_TTL_120;
struct mdns_domain service_instance, srvhost;
u16_t srvdata[3];
const char* hostname = mdns->name;
mdns_build_service_domain(&service_instance, service, 1);
/* Always reply with the primary hostname for services. */
const char* hostname = mdns->name;
mdns_build_host_domain(&srvhost, hostname);
if (msg->legacy_query) {
/* RFC 6762 section 18.14:

View file

@ -58,7 +58,7 @@ extern "C" {
/** For release candidates, this is set to 1..254
* For official releases, this is set to 255 (LWIP_RC_RELEASE)
* For development versions (Git), this is set to 0 (LWIP_RC_DEVELOPMENT) */
#define LWIP_VERSION_RC LWIP_RC_DEVELOPMENT
#define LWIP_VERSION_RC LWIP_RC_RELEASE
/** LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases */
#define LWIP_RC_RELEASE 255