mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 06:14:09 +00:00
Removed the lines setting dhcp->msg_in and dhcp->options_in to NULL, since this is done implicitly through dhcp_free_reply().
This commit is contained in:
parent
3defc437c6
commit
d1940302bb
@ -1013,8 +1013,6 @@ static err_t dhcp_unfold_reply(struct dhcp *dhcp)
|
||||
u16_t j = 0;
|
||||
/* free any left-overs from previous unfolds */
|
||||
dhcp_free_reply(dhcp);
|
||||
dhcp->msg_in = NULL;
|
||||
dhcp->options_in = NULL;
|
||||
/* options present? */
|
||||
if (dhcp->p->tot_len > (sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user