Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 18:38:30 +0200 (CEST)
From:      Alexander Pohoyda <alexander.pohoyda@gmx.net>
To:        Martin Blapp <mb@imp.ch>
Cc:        hackers@freebsd.org
Subject:   Re: [PATCH] dhclient active interface detection patch
Message-ID:  <200304201638.h3KGcUlo003962@oak.pohoyda.family>
In-Reply-To: <20030420171922.Q95995@cvs.imp.ch> (message from Martin Blapp on Sun, 20 Apr 2003 17:20:19 %2B0200 (CEST))
References:  <20030418132152.X6156@cvs.imp.ch> <20030420014419.T95995@cvs.imp.ch><20030420171922.Q95995@cvs.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<alexander.pohoyda@gmx.net>



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