Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Use ETHER_ADDR_LEN more.
details: https://anonhg.NetBSD.org/src/rev/e704c27b9159
branches: trunk
changeset: 328208:e704c27b9159
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Mar 29 14:25:10 2014 +0000
description:
Use ETHER_ADDR_LEN more.
diffstat:
sys/lib/libsa/arp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e886498ff0eb -r e704c27b9159 sys/lib/libsa/arp.c
--- a/sys/lib/libsa/arp.c Sat Mar 29 14:20:14 2014 +0000
+++ b/sys/lib/libsa/arp.c Sat Mar 29 14:25:10 2014 +0000
@@ -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 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 }
Home |
Main Index |
Thread Index |
Old Index