summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-07-11 09:26:02 +0000
committerbrian <brian@FreeBSD.org>2000-07-11 09:26:02 +0000
commitc1aed73081c125d0ed5c79079f1778e02407e211 (patch)
treebf0ef063a61f14bb4df5be7fed98fec980bd447c
parent0c292e5f74942d707acc9f252827a7f22250530f (diff)
downloadFreeBSD-src-c1aed73081c125d0ed5c79079f1778e02407e211.zip
FreeBSD-src-c1aed73081c125d0ed5c79079f1778e02407e211.tar.gz
Fix -auto breakage introduced with the last commit.
-rw-r--r--usr.sbin/ppp/bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 4f9a684..a1bcbbf 100644
--- a/usr.sbin/ppp/bundle.c
+++ b/usr.sbin/ppp/bundle.c
@@ -592,7 +592,7 @@ bundle_DescriptorRead(struct fdescriptor *d, struct bundle *bundle,
* *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
/*
OpenPOWER on IntegriCloud