patch-2.4.0-test6 linux/drivers/net/wan/syncppp.c
Next file: linux/drivers/parport/parport_pc.c
Previous file: linux/drivers/net/wan/lmc/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Aug 4 18:18:49 2000
- Orig file:
v2.4.0-test5/linux/drivers/net/wan/syncppp.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/net/wan/syncppp.c linux/drivers/net/wan/syncppp.c
@@ -723,7 +723,7 @@
struct in_device *in_dev;
struct in_ifaddr *ifa;
u32 addr = 0, mask = ~0; /* FIXME: is the mask correct? */
-
+#ifdef CONFIG_INET
if ((in_dev=in_dev_get(dev)) != NULL)
{
read_lock(&in_dev->lock);
@@ -739,6 +739,7 @@
read_unlock(&in_dev->lock);
in_dev_put(in_dev);
}
+#endif
/* I hope both addr and mask are in the net order */
sppp_cisco_send (sp, CISCO_ADDR_REPLY, addr, mask);
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)