mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-15 15:51:44 +00:00
Close UDP connection when DHCP completes.
This commit is contained in:
parent
c21502acad
commit
60a3f77711
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user