cvs commit: src/contrib/isc-dhcp/client dhclient.c

Martin Blapp mbr at FreeBSD.org
Mon Aug 16 09:09:51 PDT 2004


mbr         2004-08-16 16:09:50 UTC

  FreeBSD src repository

  Modified files:
    contrib/isc-dhcp/client dhclient.c 
  Log:
  It could happen that the renew/rebind times in the leasefile were
  expired but the expire time itself was still valid and in the future.
  If this happened we ended up using the state S_RENEW with an
  INADDR_BROADCAST address set in the request and dhclient never got
  any answer back. The only workaround was to delete the lease file.
  
  Fix this case with a check for the S_RENEW and a fallback to the
  S_INIT state.
  
  PR:             bin/69361
  Submitted by:   Andrew Gallatin <gallatin at cs.duke.edu>
  
  Revision  Changes    Path
  1.41      +13 -2     src/contrib/isc-dhcp/client/dhclient.c


More information about the cvs-src mailing list