patch-2.3.99-pre1 linux/drivers/net/shaper.c
Next file: linux/drivers/net/sis900.c
Previous file: linux/drivers/net/setup.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Mar 13 22:18:11 2000
- Orig file:
v2.3.51/linux/drivers/net/shaper.c
- Orig date:
Thu Feb 10 17:11:11 2000
diff -u --recursive --new-file v2.3.51/linux/drivers/net/shaper.c linux/drivers/net/shaper.c
@@ -480,6 +480,8 @@
}
#endif
+#ifdef CONFIG_INET
+
static int shaper_neigh_setup(struct neighbour *n)
{
if (n->nud_state == NUD_NONE) {
@@ -498,6 +500,15 @@
}
return 0;
}
+
+#else /* !(CONFIG_INET) */
+
+static int shaper_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p)
+{
+ return 0;
+}
+
+#endif
static int shaper_attach(struct net_device *shdev, struct shaper *sh, struct net_device *dev)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)