From 37af55885c7fa4f302f5ba31672b62640fb745e4 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 22 May 1997 06:45:32 +0000 Subject: [PATCH] fix silly bug --- modules/ppp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ppp.c b/modules/ppp.c index dcdf1c7..f2257ee 100644 --- a/modules/ppp.c +++ b/modules/ppp.c @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ppp.c,v 1.10 1997/04/30 05:44:43 paulus Exp $ + * $Id: ppp.c,v 1.11 1997/05/22 06:45:32 paulus Exp $ */ /* @@ -1250,7 +1250,7 @@ pass_packet(us, mp, outbound) int pass; upperstr_t *ppa; - if (us->ppa == 0) { + if ((ppa = us->ppa) == 0) { freemsg(mp); return 0; } @@ -1267,7 +1267,7 @@ pass_packet(us, mp, outbound) if (pass < 0) { /* pass only if link already up, and don't update time */ - if (us->ppa->lowerq == 0) { + if (ppa->lowerq == 0) { freemsg(mp); return 0; } -- 2.39.2