patch-2.2.18 linux/drivers/net/syncppp.c
Next file: linux/drivers/net/tlan.c
Previous file: linux/drivers/net/smc9194.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Sep 13 16:10:27 2000
- Orig file:
v2.2.17/drivers/net/syncppp.c
- Orig date:
Sun Jun 11 21:44:15 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/net/syncppp.c linux/drivers/net/syncppp.c
@@ -517,7 +517,6 @@
sppp_ipcp_open (sp);
break;
case LCP_STATE_OPENED:
-#if 0
/* Remote magic changed -- close session. */
sp->lcp.state = LCP_STATE_CLOSED;
sp->ipcp.state = IPCP_STATE_CLOSED;
@@ -525,7 +524,6 @@
sppp_lcp_open (sp);
/* An ACK has already been sent. */
sp->lcp.state = LCP_STATE_ACK_SENT;
-#endif
break;
}
break;
@@ -566,7 +564,7 @@
sp->lcp.magic += newmagic;
} else
sp->lcp.magic = rmagic;
- }
+ }
if (sp->lcp.state != LCP_STATE_ACK_SENT) {
/* Go to closed state. */
sp->lcp.state = LCP_STATE_CLOSED;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)