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:
anderscarlman 2003-04-12 15:40:43 +00:00
parent 3defc437c6
commit d1940302bb

View File

@ -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))
{