patch-1.3.20 linux/net/ipv4/arp.c
Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/core/Makefile
Back to the patch index
Back to the overall index
-  Lines: 16
 -  Date:
Wed Aug 16 15:10:12 1995
 -  Orig file: 
v1.3.19/linux/net/ipv4/arp.c
 -  Orig date: 
Tue Aug 15 20:39:11 1995
 
diff -u --recursive --new-file v1.3.19/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1240,13 +1240,13 @@
 #ifdef CONFIG_AX25
 		case ARPHRD_AX25:
 			htype = ARPHRD_AX25;
-			hlen = 7;
+			hlen = AX25_ADDR_LEN;
 			break;
 #endif
 #ifdef CONFIG_NETROM
 		case ARPHRD_NETROM:
 			htype = ARPHRD_NETROM;
-			hlen = 7;
+			hlen = AX25_ADDR_LEN;
 			break;
 #endif
 		case ARPHRD_IEEE802:
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