Fix to avoid crashes after the stream closes up.
authorPaul Mackerras <paulus@samba.org>
Fri, 23 Jun 1995 01:43:16 +0000 (01:43 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 23 Jun 1995 01:43:16 +0000 (01:43 +0000)
aix4/ppp_if.c

index 4690aa4cffd13edbfd34224ca9bda259a8caadca..23b8446167d6c2fd2fe571ba7bb1490397bc3e91 100644 (file)
@@ -399,6 +399,7 @@ ppp_if_close(q)
        }
        p->pii_npq = NULL;
        p->pii_npq_tail = &p->pii_npq;
+       p->pii_writeq = NULL;
        DLOG("ppp_if%d: closed\n", p - pii);
     }
     return(0);                 /* no work to be done */