diff options
author | gavin <gavin@FreeBSD.org> | 2009-12-25 19:57:28 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2009-12-25 19:57:28 +0000 |
commit | 603398cc9df7b8ca7b63f5ac0d700a1f9ca20cfa (patch) | |
tree | 119bfc183839f9b56f9e7dc3cad0ca45513297a8 /sys/dev/jme/if_jme.c | |
parent | 1740763eb03a0c86e8e6c05e02967cda9b51a81c (diff) | |
download | FreeBSD-src-603398cc9df7b8ca7b63f5ac0d700a1f9ca20cfa.zip FreeBSD-src-603398cc9df7b8ca7b63f5ac0d700a1f9ca20cfa.tar.gz |
Set the locally-assigned bit in the randomly generated Ethernet address
if we end up having to generate one.
PR: kern/133239
Discussed with: yongari
Approved by: ed (mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/jme/if_jme.c')
-rw-r--r-- | sys/dev/jme/if_jme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/jme/if_jme.c b/sys/dev/jme/if_jme.c index c2e64f0..eb8b630 100644 --- a/sys/dev/jme/if_jme.c +++ b/sys/dev/jme/if_jme.c @@ -465,7 +465,7 @@ jme_reg_macaddr(struct jme_softc *sc) "generating fake ethernet address.\n"); par0 = arc4random(); /* Set OUI to JMicron. */ - sc->jme_eaddr[0] = 0x00; + sc->jme_eaddr[0] = 0x02; /* U/L bit set. */ sc->jme_eaddr[1] = 0x1B; sc->jme_eaddr[2] = 0x8C; sc->jme_eaddr[3] = (par0 >> 16) & 0xff; |