patch-1.3.10 linux/drivers/net/loopback.c

Next file: linux/drivers/net/net_init.c
Previous file: linux/drivers/net/eql.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.9/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -139,7 +139,7 @@
 	dev->pa_addr		= in_aton("127.0.0.1");
 	dev->pa_brdaddr	= in_aton("127.255.255.255");
 	dev->pa_mask		= in_aton("255.0.0.0");
-	dev->pa_alen		= sizeof(unsigned long);
+	dev->pa_alen		= 4;
 #endif  
 	dev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL);
 	memset(dev->priv, 0, sizeof(struct enet_statistics));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this