summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netiso/tp_emit.c')
-rw-r--r--sys/netiso/tp_emit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netiso/tp_emit.c b/sys/netiso/tp_emit.c
index dd06e957469..4c238648050 100644
--- a/sys/netiso/tp_emit.c
+++ b/sys/netiso/tp_emit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_emit.c,v 1.3 1996/04/21 22:29:43 deraadt Exp $ */
+/* $OpenBSD: tp_emit.c,v 1.4 2000/02/25 04:26:11 itojun Exp $ */
/* $NetBSD: tp_emit.c,v 1.8 1996/03/16 23:13:48 christos Exp $ */
/*-
@@ -199,6 +199,7 @@ tp_emit(dutype, tpcb, seq, eot, data)
m->m_nextpkt = MNULL;
m->m_data = m->m_pktdat;
m->m_flags = M_PKTHDR;
+ bzero(&m->m_pkthdr, sizeof(m->m_pkthdr));
}
} else {
MGETHDR(m, M_DONTWAIT, TPMT_TPHDR);