mirror of
https://github.com/ipxe/ipxe
synced 2026-02-11 13:49:51 +03:00
Close UDP connection when DHCP completes.
This commit is contained in:
@@ -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 */
|
/* Mark async operation as complete */
|
||||||
async_done ( &dhcp->aop, rc );
|
async_done ( &dhcp->aop, rc );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user