From owner-cvs-all@FreeBSD.ORG Sun Aug 10 15:01:38 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9139237B401; Sun, 10 Aug 2003 15:01:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC5743F85; Sun, 10 Aug 2003 15:01:38 -0700 (PDT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7AM1b0U063927; Sun, 10 Aug 2003 15:01:37 -0700 (PDT) (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7AM1bwv063926; Sun, 10 Aug 2003 15:01:37 -0700 (PDT) Message-Id: <200308102201.h7AM1bwv063926@repoman.freebsd.org> From: Martin Blapp Date: Sun, 10 Aug 2003 15:01:37 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/isc-dhcp/client dhclient.c src/contrib/isc-dhcp/common dispatch.c src/contrib/isc-dhcp/includes dhcpd.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 22:01:39 -0000 mbr 2003/08/10 15:01:37 PDT FreeBSD src repository Modified files: contrib/isc-dhcp/client dhclient.c contrib/isc-dhcp/common dispatch.c contrib/isc-dhcp/includes dhcpd.h Log: Change name of state_link() to state_polling() to make it more clear what it does. Trim interface_active() to just do what it should do. Check if we got link or not and if the NIC supports it. No special treatment for mediachecks here anymore. Simplify the code a lot, and remove doublicated parts. Fix two minor spelling errors. Add one missing #ifdef ENABLE_POLLING_MODE Reviewed by: mdodd Revision Changes Path 1.32 +37 -47 src/contrib/isc-dhcp/client/dhclient.c 1.4 +1 -1 src/contrib/isc-dhcp/common/dispatch.c 1.7 +1 -1 src/contrib/isc-dhcp/includes/dhcpd.h