From 6600b2ce304a5b4fbb3a0b5f7f417f118db2fa31 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 11 Feb 2006 03:50:03 +0000 Subject: [PATCH] Use ETHER_ADDR_LEN rather than 6. --- sys/dev/cs/if_csvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cs/if_csvar.h b/sys/dev/cs/if_csvar.h index 03c4d5def03..57ee29dc705 100644 --- a/sys/dev/cs/if_csvar.h +++ b/sys/dev/cs/if_csvar.h @@ -44,7 +44,7 @@ struct cs_softc { int isa_config; /* ISA configuration */ int chip_type; /* Type of chip */ - u_char enaddr[6]; + u_char enaddr[ETHER_ADDR_LEN]; struct ifmedia media; /* Media information */