Skip to content

Commit c7f6c22

Browse files
committed
addition for esp8266#8247
1 parent 75b6fbf commit c7f6c22

9 files changed

+9
-4
lines changed

tools/sdk/lib/liblwip2-1460-feat.a

576 Bytes
Binary file not shown.

tools/sdk/lib/liblwip2-1460.a

0 Bytes
Binary file not shown.

tools/sdk/lib/liblwip2-536-feat.a

576 Bytes
Binary file not shown.

tools/sdk/lib/liblwip2-536.a

0 Bytes
Binary file not shown.

tools/sdk/lib/liblwip6-1460-feat.a

580 Bytes
Binary file not shown.

tools/sdk/lib/liblwip6-536-feat.a

580 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// generated by makefiles/make-lwip2-hash
22
#ifndef LWIP_HASH_H
33
#define LWIP_HASH_H
4-
#define LWIP_HASH_STR "STABLE-2_1_3_RC1/glue:1.2-53-g5919b91"
4+
#define LWIP_HASH_STR "STABLE-2_1_3_RC1/glue:1.2-54-g18975ca"
55
#endif // LWIP_HASH_H

tools/sdk/lwip2/include/lwipopts.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3597,8 +3597,13 @@ extern void lwip_hook_dhcp_parse_option(struct netif *netif, struct dhcp *dhcp,
35973597
int option_value_offset);
35983598

35993599
#if LWIP_FEATURES
3600-
#define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, option_len_ptr) \
3601-
lwip_hook_dhcp_amend_options(netif, dhcp, state, msg, msg_type, option_len_ptr)
3600+
#define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, option_len_ptr) { \
3601+
/* https://github.com/esp8266/Arduino/issues/8223 */ \
3602+
lwip_hook_dhcp_amend_options(netif, dhcp, state, msg, msg_type, option_len_ptr); \
3603+
/* https://github.com/esp8266/Arduino/issues/8247 */ \
3604+
if ((msg_type) == DHCP_DISCOVER) \
3605+
*(option_len_ptr) = dhcp_option_hostname(*(option_len_ptr), (msg)->options, netif); \
3606+
}
36023607

36033608
extern void lwip_hook_dhcp_amend_options(struct netif *netif, struct dhcp *dhcp, int state, struct dhcp_msg *msg,
36043609
int msg_type, u16 *option_len_ptr);

0 commit comments

Comments
 (0)