Skip to content

Commit fb644c1

Browse files
committed
Merge branch 'bugfix/remove_server_id_option_in_dhcp_renew_pkt' into 'release/v2.2.x'
fix(lwip): remove server id option in dhcp renew packet See merge request sdk/ESP8266_NONOS_SDK!132
2 parents 0f2579f + f5b9a9c commit fb644c1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

VERSION

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ phy:
1818

1919
gitlab:
2020
driver : 68fc7b06
21-
lwip : 92d608a9
22-
mbedtls : e4dace14
21+
lwip : 863c3eea
22+
mbedtls : e4dace14

lib/liblwip.a

628 Bytes
Binary file not shown.

third_party/lwip/core/dhcp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1099,12 +1099,12 @@ dhcp_renew(struct netif *netif)
10991099
}
11001100
#endif /* LWIP_NETIF_HOSTNAME */
11011101

1102-
#if 1
1102+
#if 0
11031103
dhcp_option(dhcp, DHCP_OPTION_REQUESTED_IP, 4);
11041104
dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr));
11051105
#endif
11061106

1107-
#if 1
1107+
#if 0
11081108
dhcp_option(dhcp, DHCP_OPTION_SERVER_ID, 4);
11091109
dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr));
11101110
#endif

0 commit comments

Comments
 (0)