summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-07-11 09:27:33 +0000
committerbrian <brian@cvs.openbsd.org>2000-07-11 09:27:33 +0000
commit64856c54b3b477edc55793247d962e12d184b4dd (patch)
treebd3baabf75b279fdbcb64ce69411db5d65483627 /usr.sbin
parentf3f6b6bb6bcb9c2d959e8209de48cdaac140c8bd (diff)
Fix -auto breakage introduced with the last commit
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/bundle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/bundle.c b/usr.sbin/ppp/ppp/bundle.c
index 59748dbdbe8..c70f8fb115d 100644
--- a/usr.sbin/ppp/ppp/bundle.c
+++ b/usr.sbin/ppp/ppp/bundle.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: bundle.c,v 1.40 2000/07/07 14:47:53 brian Exp $
+ * $OpenBSD: bundle.c,v 1.41 2000/07/11 09:27:32 brian Exp $
*/
#include <sys/param.h>
@@ -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
/*