summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/udp/dhcp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index 08e4ad95e..f81077770 100644
--- a/src/net/udp/dhcp.c
+++ b/src/net/udp/dhcp.c
@@ -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 );
}