diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 03:49:56 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 03:49:56 +0000 |
commit | 5a60def576e7a9fc33be3c2ce84e9c5a4ea87acf (patch) | |
tree | eec94d4164616ff7c03e306b4723bda222307b2f /sys/netns/ns_ip.c | |
parent | cc7d393f894b86439bc3d6e082a11123747a46bd (diff) |
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/netns/ns_ip.c')
-rw-r--r-- | sys/netns/ns_ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c index 5d2de76cc2e..47b25f59825 100644 --- a/sys/netns/ns_ip.c +++ b/sys/netns/ns_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ns_ip.c,v 1.13 2001/06/25 01:50:18 fgsch Exp $ */ +/* $OpenBSD: ns_ip.c,v 1.14 2001/06/27 03:49:55 angelos Exp $ */ /* $NetBSD: ns_ip.c,v 1.16 1996/05/09 22:29:40 scottr Exp $ */ /* @@ -285,7 +285,7 @@ nsipoutput(ifp, m, dst, rt) m_freem(m); return (ENOBUFS); } - M_COPY_HDR(m0, m); + M_MOVE_HDR(m0, m); MH_ALIGN(m0, sizeof (struct ip)); m0->m_flags = m->m_flags & M_COPYFLAGS; m0->m_next = m; |