diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2004-02-15 02:52:42 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2004-02-15 02:52:42 +0000 |
commit | adeb4584093c712f6aaa94ff2a634a06cbea94c7 (patch) | |
tree | 86446172cc7abd2a9a2c103e75afd00ac3308fa2 /sys/net | |
parent | e2437f87d225dcfecf55182e4ad4ac05af940988 (diff) |
18 -> ETHER_ADDR_LEN*3 in ether_sprintf() for clarity
itojun@ ok
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 04af650715c..f5958851582 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.74 2004/01/09 10:44:32 markus Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.75 2004/02/15 02:52:41 avsm Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -931,7 +931,7 @@ ether_sprintf(ap) u_char *ap; { int i; - static char etherbuf[18]; + static char etherbuf[ETHER_ADDR_LEN * 3]; char *cp = etherbuf; for (i = 0; i < ETHER_ADDR_LEN; i++) { |