diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-09 18:22:40 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-09 18:22:40 +0000 |
commit | f5f809dec607115909de52a785667430f9ca3f88 (patch) | |
tree | f83999619ac741f69d0d181abf849e87aae5c4f2 /sys/dev/pci/if_fxp.c | |
parent | 9a5ff8763e1063815314f5967b155250fd208eec (diff) |
Do not lose our ethernet address
Diffstat (limited to 'sys/dev/pci/if_fxp.c')
-rw-r--r-- | sys/dev/pci/if_fxp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c index 911af0e3f59..32f7b733d0b 100644 --- a/sys/dev/pci/if_fxp.c +++ b/sys/dev/pci/if_fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp.c,v 1.5 1997/07/06 16:06:47 niklas Exp $ */ +/* $OpenBSD: if_fxp.c,v 1.6 1997/07/09 18:22:39 niklas Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -383,6 +383,7 @@ fxp_attach(parent, self, aux) #ifdef __OpenBSD__ ifp = &sc->arpcom.ac_if; + bcopy(enaddr, sc->arpcom.ac_enaddr, sizeof(enaddr)); #else ifp = &sc->sc_ethercom.ec_if; #endif |