patch-1.3.21 linux/drivers/net/ppp.c
Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Fri Aug 18 08:35:08 1995
 -  Orig file: 
v1.3.20/linux/drivers/net/ppp.c
 -  Orig date: 
Wed Aug  2 13:21:05 1995
 
diff -u --recursive --new-file v1.3.20/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -1775,7 +1775,7 @@
 
   /* If doing demand dial then divert the first frame to pppd. */
   if (ppp->flags & SC_IP_DOWN) {
-    if (ppp->flags & SC_IP_FLUSH == 0) {
+    if ((ppp->flags & SC_IP_FLUSH) == 0) {
       if (ppp_us_queue (ppp, proto, p, len))
 	ppp->flags |= SC_IP_FLUSH;
     }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this