From owner-freebsd-current Wed Jul 12 7:23:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 2DF4B37BE9C for ; Wed, 12 Jul 2000 07:23:40 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id OAA00877; Wed, 12 Jul 2000 14:20:03 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200007121320.OAA00877@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Daniel Rock Cc: Udo Erdelhoff , current@FreeBSD.org, brian@storm.FreeBSD.org.uk Subject: Re: ppp -auto gone again In-Reply-To: Message from Daniel Rock of "Sun, 09 Jul 2000 18:04:47 +0200." <3968A29F.F60F1D25@dead-end.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Jul 2000 14:20:03 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Udo Erdelhoff schrieb: > > > > Hi, > > ppp -auto stopped working fater I've updated my box from 06/17-Sources > > to yesterday's version (07/06, approx. 1500 GMT). tcpdump -ni tun0 > > shows the traffic but that's it. ppp.log doesn't show any obvious > > problems. -ddial works, sending a manual dial command (via pppctl) > > brings the link up immediately. > > > > IPv6-related breakage again (this is an IPv4-only system) or something > > new? > Found it. > > Index: bundle.c > =================================================================== > RCS file: /data/cvs/src/usr.sbin/ppp/bundle.c,v > retrieving revision 1.98 > diff -u -r1.98 bundle.c > --- bundle.c 2000/07/07 14:22:07 1.98 > +++ bundle.c 2000/07/09 15:56:52 > @@ -592,7 +592,7 @@ > * *not* be UP and we can't receive data > */ > pri = PacketCheck(bundle, tun.data, n, &bundle->filter.dial, NULL); > - if (pri > 0) > + if (pri >= 0) > bundle_Open(bundle, NULL, PHYS_AUTO, 0); > else > /* > > Sorry... my mistake :-( -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message