2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

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

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 );
}