diff options
author | 2001-06-27 03:49:52 +0000 | |
---|---|---|
committer | 2001-06-27 03:49:52 +0000 | |
commit | 406cff18a7086188fd5c2e98e48bf121730ccddc (patch) | |
tree | 46d9b19deaa91aba538026f16da894cb64a1c607 /sys/netiso/if_eon.c | |
parent | typo (diff) | |
download | wireguard-openbsd-406cff18a7086188fd5c2e98e48bf121730ccddc.tar.xz wireguard-openbsd-406cff18a7086188fd5c2e98e48bf121730ccddc.zip |
Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending
on how macros should be treated. Code by fgsch@, ok by me and itojun@
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r-- | sys/netiso/if_eon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c index d012293f851..9e22247e001 100644 --- a/sys/netiso/if_eon.c +++ b/sys/netiso/if_eon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eon.c,v 1.12 2001/06/25 01:50:17 fgsch Exp $ */ +/* $OpenBSD: if_eon.c,v 1.13 2001/06/27 03:49:54 angelos Exp $ */ /* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */ /*- @@ -416,7 +416,7 @@ send: MGETHDR(mh, M_DONTWAIT, MT_HEADER); if (mh == (struct mbuf *) 0) goto flush; - M_COPY_HDR(mh, m); + M_MOVE_HDR(mh, m); mh->m_next = m; m = mh; MH_ALIGN(m, sizeof(struct eon_iphdr)); |