diff options
author | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
commit | ec1697067958cd5395dc4db2ef0cb1ce54dc746e (patch) | |
tree | 0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/pci/if_xl.c | |
parent | 24afcaae818a704f924f89cd18fcd660e2a72204 (diff) | |
download | FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.zip FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.tar.gz |
Catch up with IFP2ENADDR() type change (array -> pointer).
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 51e143b..37aab4e 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -857,9 +857,9 @@ xl_testpacket(struct xl_softc *sc) if (m == NULL) return; - bcopy(&IFP2ENADDR(sc->xl_ifp), + bcopy(IFP2ENADDR(sc->xl_ifp), mtod(m, struct ether_header *)->ether_dhost, ETHER_ADDR_LEN); - bcopy(&IFP2ENADDR(sc->xl_ifp), + bcopy(IFP2ENADDR(sc->xl_ifp), mtod(m, struct ether_header *)->ether_shost, ETHER_ADDR_LEN); mtod(m, struct ether_header *)->ether_type = htons(3); mtod(m, unsigned char *)[14] = 0; |