diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-06-28 01:55:01 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-06-28 01:55:01 +0100 |
commit | cf33b568dcce722e60ec9a97e3e26760888d4f3b (patch) | |
tree | 6a45278088c3583e294e40293990534f82de62b6 /src | |
parent | 73fe1ba9ddbdd56bff220c01311280a0d73b0584 (diff) | |
download | ipxe-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.c | 1 |
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, |