summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-15 22:09:29 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-15 22:09:29 +0000
commite0526727e5d37ca6c0e6742da5385936b504e293 (patch)
tree61c59700c97e25f34748478225a5e57e5afd0ade
parentac112fdb574d091c4c6518cc2c8a8eedda1f7ccb (diff)
downloadFreeBSD-src-e0526727e5d37ca6c0e6742da5385936b504e293.zip
FreeBSD-src-e0526727e5d37ca6c0e6742da5385936b504e293.tar.gz
Revert part of 1.37; use bcopy() like if_fddisubr.c.
-rw-r--r--sys/net/if_iso88025subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index f5d0b42..5ef9aa8 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -350,9 +350,6 @@ iso88025_output(ifp, m, dst, rt0)
l->llc_snap.ether_type = htons(snap_type);
}
- (void)memcpy((caddr_t)&gen_th.iso88025_dhost, (caddr_t)edst,
- ISO88025_ADDR_LEN);
-
/*
* Add local net header. If no space in first mbuf,
* allocate another.
@@ -361,6 +358,7 @@ iso88025_output(ifp, m, dst, rt0)
if (m == 0)
senderr(ENOBUFS);
th = mtod(m, struct iso88025_header *);
+ bcopy((caddr_t)edst, (caddr_t)&gen_th.iso88025_dhost, ISO88025_ADDR_LEN);
/* Copy as much of the generic header as is needed into the mbuf */
memcpy(th, &gen_th, ISO88025_HDR_LEN + rif_len);
OpenPOWER on IntegriCloud