Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 00:27:14 -0700 (PDT)
From:      Martin Blapp <mbr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/contrib/isc-dhcp/client dhclient.c src/contrib/isc-dhcp/includes         dhcpd.h
Message-ID:  <200308070727.h777REew048682@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mbr         2003/08/07 00:27:14 PDT

  FreeBSD src repository

  Modified files:
    contrib/isc-dhcp/client dhclient.c 
    contrib/isc-dhcp/includes dhcpd.h 
  Log:
  - Fix the polling code to work with media settings in dhclient.conf.
  
  - Rename linkstatus to linkstate which is more correct.
  
  - Sort any leases each time we loose and regain link. With the first
    version we spammed the dhclient.leases file.
  
  - When there was no link on a interface, polling has been done twice.
    This has been fixed with a bigger sleep interval.
  
  - interface_active() now returns only a assumed state of the link.
    If we are using media settings, we cannot be sure that the link
    actually works. That means we assume that the link is working and
    continue to send requests as usual on the interface and loop over
    all possible media options. Polling is still done. If your interface
    gets suddenly link, dhclient will send a dhcp discover request.
  
  After all media settings have been tried a few times, dhclient will
  sleep. If one does change networks very often, it can help to set the
  "retry timeout" to a low value like 100 seconds. The default is over
  six minutes.
  
  Tested by:      Larry Rosenman <ler@lerctr.org>, imp
  
  Revision  Changes    Path
  1.29      +176 -36   src/contrib/isc-dhcp/client/dhclient.c
  1.5       +13 -2     src/contrib/isc-dhcp/includes/dhcpd.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308070727.h777REew048682>