[dhcp] Do not transition to DHCPREQUEST without a valid DHCPOFFER
authorMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 05:20:49 +0000 (06:20 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 05:20:49 +0000 (06:20 +0100)
commit3a2c8a269029495c20b2c660642651a9705ffbb8
tree6e77ef9582d485e749fd41cf9287d457c08ff8b2
parent2456b9b4baf452a83d3814a2f7babed440037e9f
[dhcp] Do not transition to DHCPREQUEST without a valid DHCPOFFER

A missing test for dhcp->dhcpoffer in dhcp_timer_expired() was causing
the client to transition to DHCPREQUEST after timing out on waiting
for ProxyDHCP even if no DHCPOFFERs had been received.
src/net/udp/dhcp.c