patch-2.4.9 linux/drivers/net/wan/syncppp.c
Next file: linux/drivers/net/wan/wanpipe_multppp.c
Previous file: linux/drivers/net/wan/sdlamain.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/net/wan/syncppp.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/net/wan/syncppp.c linux/drivers/net/wan/syncppp.c
@@ -156,7 +156,7 @@
static void if_down(struct net_device *dev)
{
- struct sppp *sp = &((struct ppp_device *)dev)->sppp;
+ struct sppp *sp = (struct sppp *)sppp_of(dev);
sp->pp_link_state=SPPP_LINK_DOWN;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)