From cf33b568dcce722e60ec9a97e3e26760888d4f3b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 28 Jun 2007 01:55:01 +0100 Subject: [PATCH] Forgot to set initial session state. Now works! --- src/net/udp/dhcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 1778ba70..5319dc0e 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,