summaryrefslogtreecommitdiffstats
path: root/sys/netiso/if_eon.c
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-05-27 12:26:05 +0000
committerangelos <angelos@openbsd.org>2001-05-27 12:26:05 +0000
commit609b5b9a6c3fe7386e649f7030a1f308969ea274 (patch)
treefa09bada787ec22d578b5f06413ffca420964105 /sys/netiso/if_eon.c
parentFixup packet tags (I'm a masochist). (diff)
downloadwireguard-openbsd-609b5b9a6c3fe7386e649f7030a1f308969ea274.tar.xz
wireguard-openbsd-609b5b9a6c3fe7386e649f7030a1f308969ea274.zip
More tag fixups (why do I bother with this...)
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r--sys/netiso/if_eon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c
index 79dca64acb5..e08e186274b 100644
--- a/sys/netiso/if_eon.c
+++ b/sys/netiso/if_eon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_eon.c,v 1.9 2001/02/06 00:22:25 mickey Exp $ */
+/* $OpenBSD: if_eon.c,v 1.10 2001/05/27 12:26:05 angelos Exp $ */
/* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */
/*-
@@ -417,6 +417,9 @@ send:
MGETHDR(mh, M_DONTWAIT, MT_HEADER);
if (mh == (struct mbuf *) 0)
goto flush;
+ M_COPY_HDR(mh, m);
+ m->m_flags &= ~M_PKTHDR;
+ m_tag_init(m);
mh->m_next = m;
m = mh;
MH_ALIGN(m, sizeof(struct eon_iphdr));