Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 14:20:03 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Daniel Rock <rock@dead-end.net>
Cc:        Udo Erdelhoff <ue@nathan.ruhr.de>, current@FreeBSD.org, brian@storm.FreeBSD.org.uk
Subject:   Re: ppp -auto gone again 
Message-ID:  <200007121320.OAA00877@hak.lan.Awfulhak.org>
In-Reply-To: Message from Daniel Rock <rock@dead-end.net>  of "Sun, 09 Jul 2000 18:04:47 %2B0200." <3968A29F.F60F1D25@dead-end.net> 

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




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