patch-1.3.46 linux/net/ipv4/arp.c

Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/core/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.45/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1603,6 +1603,7 @@
 /*
  * Test if a hardware address is all zero
  */
+
 static inline int empty(unsigned char * addr, int len)
 {
 	while (len > 0) {
@@ -1628,12 +1629,7 @@
 	u32 ip;
 
 	/*
-	 * Find out about the hardware type.
-	 * We have to be compatible with BSD UNIX, so we have to
-	 * assume that a "not set" value (i.e. 0) means Ethernet.
-	 *
-	 * ANK: Hey, who wrote it? Do you really mean that BSD considers 
-	 *	ARPHRD_NETROM as ARPHRD_ETHER, or somthing another?
+	 *	Find out about the hardware type.
 	 */
 	
 	si = (struct sockaddr_in *) &r->arp_pa;

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