summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1997-05-22 06:45:32 +0000
committerPaul Mackerras <paulus@samba.org>1997-05-22 06:45:32 +0000
commit37af55885c7fa4f302f5ba31672b62640fb745e4 (patch)
tree52c19375f766862f733e11e79de4a1bc079a9425 /modules
parent1d80f42e7fee2db352e176d52219bf42e11d2eb4 (diff)
downloadppp-37af55885c7fa4f302f5ba31672b62640fb745e4.tar.gz
fix silly bug
Diffstat (limited to 'modules')
-rw-r--r--modules/ppp.c6
1 files 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;
}