http://git.etherboot.org
/
people
/
sha0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fe1ba
)
Forgot to set initial session state. Now works!
author
Michael Brown
<mcb30@etherboot.org>
Thu, 28 Jun 2007 00:55:01 +0000
(
01:55
+0100)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 28 Jun 2007 00:55:01 +0000
(
01:55
+0100)
src/net/udp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dhcp.c
b/src/net/udp/dhcp.c
index
1778ba7
..
5319dc0
100644
(file)
--- a/
src/net/udp/dhcp.c
+++ b/
src/net/udp/dhcp.c
@@
-806,6
+806,7
@@
int start_dhcp ( struct job_interface *job, struct net_device *netdev,
dhcp->netdev = netdev_get ( netdev );
dhcp->register_options = register_options;
dhcp->timer.expired = dhcp_timer_expired;
+ dhcp->state = DHCPDISCOVER;
/* Instantiate child objects and attach to our interfaces */
if ( ( rc = xfer_open_socket ( &dhcp->xfer, SOCK_DGRAM,