Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Mar 1998 14:05:23 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        zach@gaffaneys.com (Zach Heilig), bhlewis@gte.net, pvh@leftside.wcape.school.za, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Detecting state of PPP 
Message-ID:  <199803071405.OAA12904@awfulhak.org>
In-Reply-To: Your message of "Sat, 07 Mar 1998 09:08:40 GMT." <199803070908.CAA17333@usr04.primenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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 <net/if.h>; 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



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