Explorar el Código

Forgot to set initial session state. Now works!

tags/v0.9.3
Michael Brown hace 17 años
padre
commit
cf33b568dc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/net/udp/dhcp.c

+ 1
- 0
src/net/udp/dhcp.c Ver fichero

@@ -806,6 +806,7 @@ int start_dhcp ( struct job_interface *job, struct net_device *netdev,
806 806
 	dhcp->netdev = netdev_get ( netdev );
807 807
 	dhcp->register_options = register_options;
808 808
 	dhcp->timer.expired = dhcp_timer_expired;
809
+	dhcp->state = DHCPDISCOVER;
809 810
 
810 811
 	/* Instantiate child objects and attach to our interfaces */
811 812
 	if ( ( rc = xfer_open_socket ( &dhcp->xfer, SOCK_DGRAM,

Loading…
Cancelar
Guardar