diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-03 00:15:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-03 00:15:36 +0000 |
commit | 702b0e86a8dba805a069a42fa360078420d24333 (patch) | |
tree | 86e445cd2cc4f229e89693f2c3000e0c879a5764 /sys/net | |
parent | bb28add77fa46084d0e11f01bc07f698bb82c357 (diff) |
document the first byte of the random MAC address
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ethersubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 2a7b8e07524..8087df6eaab 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.139 2010/01/12 06:47:25 yasuoka Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.140 2010/04/03 00:15:35 deraadt Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -887,6 +887,7 @@ ether_fakeaddr(struct ifnet *ifp) static int unit; int rng; + /* Non-multicast; locally administered address */ ((struct arpcom *)ifp)->ac_enaddr[0] = 0xfe; ((struct arpcom *)ifp)->ac_enaddr[1] = 0xe1; ((struct arpcom *)ifp)->ac_enaddr[2] = 0xba; |