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

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, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this