Date: Sun, 09 Jul 2000 18:04:47 +0200 From: Daniel Rock <rock@dead-end.net> To: Udo Erdelhoff <ue@nathan.ruhr.de> Cc: current@FreeBSD.ORG Subject: Re: ppp -auto gone again Message-ID: <3968A29F.F60F1D25@dead-end.net> References: <20000708015911.A252@nathan.ruhr.de>
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
/*
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?3968A29F.F60F1D25>
