projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d80f42
)
fix silly bug
author
Paul Mackerras
<paulus@samba.org>
Thu, 22 May 1997 06:45:32 +0000
(06:45 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 22 May 1997 06:45:32 +0000
(06:45 +0000)
modules/ppp.c
patch
|
blob
|
history
diff --git
a/modules/ppp.c
b/modules/ppp.c
index dcdf1c7e11ac10b0f61f3c1251a4bd4d4605c953..f2257eeaf5db33cab887f873551a51a302d470c9 100644
(file)
--- a/
modules/ppp.c
+++ b/
modules/ppp.c
@@
-24,7
+24,7
@@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp.c,v 1.1
0 1997/04/30 05:44:43
paulus Exp $
+ * $Id: ppp.c,v 1.1
1 1997/05/22 06:45:32
paulus Exp $
*/
/*
*/
/*
@@
-1250,7
+1250,7
@@
pass_packet(us, mp, outbound)
int pass;
upperstr_t *ppa;
int pass;
upperstr_t *ppa;
- if (
us->ppa
== 0) {
+ if (
(ppa = us->ppa)
== 0) {
freemsg(mp);
return 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 (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;
}
freemsg(mp);
return 0;
}