[dhcp] Centralise DHCP successful state transitions
authorMichael Brown <mcb30@etherboot.org>
Wed, 21 Jan 2009 01:28:18 +0000 (01:28 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 21 Jan 2009 01:31:52 +0000 (01:31 +0000)
commit7be5fa82e375119c01717275b7e54aa7fa6199fd
tree9f1f38bf21fbc3305bb4e374301c22f20bcccd62
parentd7de30e5e47ded29599c4ef2ba37ddbf3913f4b0
[dhcp] Centralise DHCP successful state transitions

Move all the DHCP state transition logic into a single function
dhcp_next_state().  This will make it easier to add support for PXE
Boot Servers, since it abstracts away the difference between "mark
DHCP as complete" and "transition to boot server discovery".
src/net/udp/dhcp.c