patch-2.1.67 linux/drivers/net/dummy.c
Next file: linux/drivers/net/eepro100.c
Previous file: linux/drivers/net/dlci.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Sat Nov 29 10:33:19 1997
-  Orig file: 
v2.1.66/linux/drivers/net/dummy.c
-  Orig date: 
Sat May 24 09:10:23 1997
diff -u --recursive --new-file v2.1.66/linux/drivers/net/dummy.c linux/drivers/net/dummy.c
@@ -82,7 +82,7 @@
 	if (dev->priv == NULL)
 		return -ENOMEM;
 	memset(dev->priv, 0, sizeof(struct net_device_stats));
-	dev->get_stats		= dummy_get_stats;
+	dev->get_stats	= dummy_get_stats;
 
 	dev->open = dummy_open;
 	dev->stop = dummy_close;
@@ -92,6 +92,7 @@
 	ether_setup(dev);
 	dev->tx_queue_len = 0;
 	dev->flags |= IFF_NOARP;
+	dev->flags &= ~IFF_BROADCAST;
 
 	return 0;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov