david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Close UDP connection when DHCP completes.

This commit is contained in:
Michael Brown 2006-12-20 07:19:48 +00:00
parent c21502acad
commit 60a3f77711
1 changed files with 3 additions and 0 deletions

View File

@ -506,6 +506,9 @@ static void dhcp_done ( struct dhcp_session *dhcp, int rc ) {
}
}
/* Close UDP connection */
udp_close ( &dhcp->udp );
/* Mark async operation as complete */
async_done ( &dhcp->aop, rc );
}