From: Paul Mackerras Date: Thu, 22 May 1997 06:45:32 +0000 (+0000) Subject: fix silly bug X-Git-Tag: RELEASE_2_3_6~182 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=37af55885c7fa4f302f5ba31672b62640fb745e4;ds=sidebyside fix silly bug --- 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; }