From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 20 09:38:39 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5F6737B401 for ; Sun, 20 Apr 2003 09:38:39 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 395DF43FAF for ; Sun, 20 Apr 2003 09:38:36 -0700 (PDT) (envelope-from alexander.pohoyda@gmx.net) Received: (qmail 27222 invoked by uid 65534); 20 Apr 2003 16:38:34 -0000 Received: from p508BE949.dip.t-dialin.net (EHLO oak.pohoyda.family) (80.139.233.73) by mail.gmx.net (mp010-rz3) with SMTP; 20 Apr 2003 18:38:34 +0200 Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.8/8.12.6) with ESMTP id h3KGcVfH003965; Sun, 20 Apr 2003 18:38:31 +0200 (CEST) (envelope-from apog@oak.pohoyda.family) Received: (from apog@localhost) by oak.pohoyda.family (8.12.8/8.12.6/Submit) id h3KGcUlo003962; Sun, 20 Apr 2003 18:38:30 +0200 (CEST) (envelope-from apog) Date: Sun, 20 Apr 2003 18:38:30 +0200 (CEST) Message-Id: <200304201638.h3KGcUlo003962@oak.pohoyda.family> From: Alexander Pohoyda To: Martin Blapp In-reply-to: <20030420171922.Q95995@cvs.imp.ch> (message from Martin Blapp on Sun, 20 Apr 2003 17:20:19 +0200 (CEST)) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit References: <20030418132152.X6156@cvs.imp.ch> <20030420014419.T95995@cvs.imp.ch><20030420171922.Q95995@cvs.imp.ch> cc: hackers@freebsd.org Subject: Re: [PATCH] dhclient active interface detection patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 16:38:40 -0000 Hi Martin, > Thanks, fixed ! I also fixed the initialisation of the polling_interval > variable if no value was given with -i. I'm trying to test your patch. It applied OK to my FreeBSD oak.pohoyda.family 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #1: Sun Mar 9 15:24:53 CET 2003 apog@oak.pohoyda.family:/usr/obj/usr/src/sys/OAK i386 but then: ... ===> client cc -O -pipe -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn -I/usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/includes -DENABLE_POLLING_MODE -c /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/clparse.c cc -O -pipe -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn -I/usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/includes -DENABLE_POLLING_MODE -c /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c: In function `main': /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c:209: `polling_interval' undeclared (first use in this function) /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c:209: (Each undeclared identifier is reported only once /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c:209: for each function it appears in.) /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c: In function `state_link': /usr/src/sbin/dhclient/client/../../../contrib/isc-dhcp/client/dhclient.c:3204: `doinitcheck' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sbin/dhclient/client. *** Error code 1 Stop in /usr/src/sbin/dhclient. I'll try to fix this and will report the result. -- Alexander Pohoyda