diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-12-13 17:19:24 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-12-13 17:19:24 +0000 |
commit | c9a19d46fdaa1689db50756512d124bc2cea886f (patch) | |
tree | ad7085f01eb48a06125cead5bf6f0aef1304dd9c /sys/arch | |
parent | 158b5e5f32263eb443d57fe10c99429450388fe1 (diff) |
Store the local ethernet address in struct arpcom and suddenly mc(4) starts
working. OK miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mac68k/dev/if_mc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/if_mc.c b/sys/arch/mac68k/dev/if_mc.c index ee66a50f082..504a9fd37c2 100644 --- a/sys/arch/mac68k/dev/if_mc.c +++ b/sys/arch/mac68k/dev/if_mc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mc.c,v 1.7 2002/04/20 00:17:05 miod Exp $ */ +/* $OpenBSD: if_mc.c,v 1.8 2004/12/13 17:19:23 claudio Exp $ */ /* $NetBSD: if_mc.c,v 1.4 1998/01/12 19:22:09 thorpej Exp $ */ /*- @@ -164,6 +164,7 @@ mcsetup(sc, lladdr) NIC_PUT(sc, MACE_IMR, ~0); bcopy(lladdr, sc->sc_enaddr, ETHER_ADDR_LEN); + bcopy(sc->sc_enaddr, sc->sc_ethercom.ac_enaddr, ETHER_ADDR_LEN); printf(": address %s\n", ether_sprintf(lladdr)); bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); |