Fix a nameless constant: 6 -> ETHER_ADDR_LEN

Tested with:	md5(1)
This commit is contained in:
Yaroslav Tykhiy 2007-03-19 16:58:07 +00:00
parent 1048e6755f
commit 652399423d

View File

@ -632,7 +632,7 @@ vlan_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params)
struct ifnet *ifp;
struct ifnet *p;
struct vlanreq vlr;
static const u_char eaddr[6]; /* 00:00:00:00:00:00 */
static const u_char eaddr[ETHER_ADDR_LEN]; /* 00:00:00:00:00:00 */
/*
* There are 3 (ugh) ways to specify the cloned device: