From owner-freebsd-hackers Fri Mar 6 20:58:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA22980 for freebsd-hackers-outgoing; Fri, 6 Mar 1998 20:58:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from murkwood.gaffaneys.com (dialup4.gaffaneys.com [208.155.161.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA22938 for ; Fri, 6 Mar 1998 20:57:58 -0800 (PST) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by murkwood.gaffaneys.com (8.8.8/8.8.8) id WAA13344; Fri, 6 Mar 1998 22:56:54 -0600 (CST) (envelope-from zach) Message-ID: <19980306225654.17589@gaffaneys.com> Date: Fri, 6 Mar 1998 22:56:54 -0600 From: Zach Heilig To: Terry Lambert , Benjamin Lewis Cc: pvh@leftside.wcape.school.za, freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting state of PPP References: <199803060014.TAA13234@gte.net> <199803070058.RAA24995@usr09.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199803070058.RAA24995@usr09.primenet.com>; from Terry Lambert on Sat, Mar 07, 1998 at 12:58:46AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 07, 1998 at 12:58:46AM +0000, Terry Lambert wrote: ... code removed ... > Of course, not all of the includes are needed; I ripped this out of an > experimental piece of DHCP code. After cleaning it up so it will compile, I tried your code. I always get: tun0: up no matter what the actual state is. -- Zach Heilig -- zach@gaffaneys.com Real Programs don't use shared text. Otherwise, how can they use functions for scratch space after they are finished calling them? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message