aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-06-28 01:55:01 +0100
committerMichael Brown <mcb30@etherboot.org>2007-06-28 01:55:01 +0100
commitcf33b568dcce722e60ec9a97e3e26760888d4f3b (patch)
tree6a45278088c3583e294e40293990534f82de62b6 /src
parent73fe1ba9ddbdd56bff220c01311280a0d73b0584 (diff)
downloadipxe-cf33b568dcce722e60ec9a97e3e26760888d4f3b.zip
ipxe-cf33b568dcce722e60ec9a97e3e26760888d4f3b.tar.gz
ipxe-cf33b568dcce722e60ec9a97e3e26760888d4f3b.tar.bz2
Forgot to set initial session state. Now works!
Diffstat (limited to 'src')
-rw-r--r--src/net/udp/dhcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index 1778ba7..5319dc0 100644
--- 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,