Module Name: src Committed By: jakllsch Date: Sat Mar 29 14:25:10 UTC 2014
Modified Files: src/sys/lib/libsa: arp.c Log Message: Use ETHER_ADDR_LEN more. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/lib/libsa/arp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libsa/arp.c diff -u src/sys/lib/libsa/arp.c:1.33 src/sys/lib/libsa/arp.c:1.34 --- src/sys/lib/libsa/arp.c:1.33 Sat Jan 17 14:00:36 2009 +++ src/sys/lib/libsa/arp.c Sat Mar 29 14:25:10 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: arp.c,v 1.33 2009/01/17 14:00:36 tsutsui Exp $ */ +/* $NetBSD: arp.c,v 1.34 2014/03/29 14:25:10 jakllsch Exp $ */ /* * Copyright (c) 1992 Regents of the University of California. @@ -81,7 +81,7 @@ struct ether_arp { struct arp_list { struct in_addr addr; - u_char ea[6]; + u_char ea[ETHER_ADDR_LEN]; } arp_list[ARP_NUM] = { /* XXX - net order `INADDR_BROADCAST' must be a constant */ { {0xffffffff}, BA }