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/tp_inet.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/tp_inet.c')
| -rw-r--r-- | sys/netiso/tp_inet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/tp_inet.c b/sys/netiso/tp_inet.c index 63eba45b903..72f1a429d12 100644 --- a/sys/netiso/tp_inet.c +++ b/sys/netiso/tp_inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tp_inet.c,v 1.5 2001/06/25 01:50:17 fgsch Exp $ */ +/* $OpenBSD: tp_inet.c,v 1.6 2001/06/27 03:49:54 angelos Exp $ */ /* $NetBSD: tp_inet.c,v 1.11 1996/03/16 23:13:49 christos Exp $ */ /*- @@ -454,7 +454,7 @@ tpip_output_dg(m0, va_alist) error = ENOBUFS; goto bad; } - M_COPY_HDR(m, m0); + M_MOVE_HDR(m, m0); m->m_next = m0; MH_ALIGN(m, sizeof(struct ip)); m->m_len = sizeof(struct ip); |
