diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-20 08:36:03 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-20 08:36:03 +0000 |
commit | d7243a34c69a55b6383aad474f4954018738c247 (patch) | |
tree | 74c4a308dcf7d37a9bfcac369b17cfa907f1e226 /sys/netns/ns_ip.c | |
parent | d23f4366558c7f5e779414b87704dc1cf76c66f2 (diff) |
Convert from tdbi to packet tags.
Diffstat (limited to 'sys/netns/ns_ip.c')
-rw-r--r-- | sys/netns/ns_ip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c index b3994630d28..6ab4d168f34 100644 --- a/sys/netns/ns_ip.c +++ b/sys/netns/ns_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ns_ip.c,v 1.9 2001/03/23 07:35:10 angelos Exp $ */ +/* $OpenBSD: ns_ip.c,v 1.10 2001/05/20 08:36:02 angelos Exp $ */ /* $NetBSD: ns_ip.c,v 1.16 1996/05/09 22:29:40 scottr Exp $ */ /* @@ -290,9 +290,9 @@ nsipoutput(ifp, m, dst, rt) m0->m_next = m; m0->m_len = sizeof (struct ip); m0->m_pkthdr.len = m0->m_len + m->m_len; - m0->m_pkthdr.tdbi = m->m_pkthdr.tdbi; + m0->m_pkthdr.tags = m->m_pkthdr.tags; m->m_flags &= ~M_PKTHDR; - m->m_pkthdr.tdbi = NULL; /* paranoid */ + m->m_pkthdr.tags = TAILQ_INITIALIZER(m->m_pkthdr.tags); } else { M_PREPEND(m, sizeof (struct ip), M_DONTWAIT); if (m == 0) |