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

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