mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
I hate it when it takes twice to fix a typo
This commit is contained in:
parent
a6d37fcb25
commit
fb5452910f
@ -932,9 +932,9 @@ static err_t dhcp_release(struct netif *netif)
|
|||||||
/* idle DHCP client */
|
/* idle DHCP client */
|
||||||
dhcp_set_state(dhcp, DHCP_OFF);
|
dhcp_set_state(dhcp, DHCP_OFF);
|
||||||
/* clean old DHCP offer */
|
/* clean old DHCP offer */
|
||||||
dhcp->server_ip_addr = 0;
|
dhcp->server_ip_addr.addr = 0;
|
||||||
dhcp->offered_ip_addr = dhcp->offered_sn_mask = 0;
|
dhcp->offered_ip_addr.addr = dhcp->offered_sn_mask.addr = 0;
|
||||||
dhcp->offered_gw_addr = dhcp->offered_bc_addr = 0;
|
dhcp->offered_gw_addr.addr = dhcp->offered_bc_addr.addr = 0;
|
||||||
dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0;
|
dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0;
|
||||||
dhcp->dns_count = 0;
|
dhcp->dns_count = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user