http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c21502a
)
Close UDP connection when DHCP completes.
author
Michael Brown
<mcb30@etherboot.org>
Wed, 20 Dec 2006 07:19:48 +0000
(07:19 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 20 Dec 2006 07:19:48 +0000
(07:19 +0000)
src/net/udp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dhcp.c
b/src/net/udp/dhcp.c
index
08e4ad9
..
f810777
100644
(file)
--- 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 );
}