From owner-freebsd-hackers Sat Mar 7 06:07:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA10320 for freebsd-hackers-outgoing; Sat, 7 Mar 1998 06:07:42 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA10305 for ; Sat, 7 Mar 1998 06:07:33 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id OAA12904; Sat, 7 Mar 1998 14:05:23 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803071405.OAA12904@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Terry Lambert cc: zach@gaffaneys.com (Zach Heilig), bhlewis@gte.net, pvh@leftside.wcape.school.za, freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting state of PPP In-reply-to: Your message of "Sat, 07 Mar 1998 09:08:40 GMT." <199803070908.CAA17333@usr04.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 07 Mar 1998 14:05:23 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 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. > > Look in ; I probably misspoke, and you probably want > IFF_RUNNING. Ppp keeps the interface UP and RUNNING when it's in auto mode. > Terry Lambert > terry@lambert.org -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message