diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-03-06 11:54:07 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-03-06 11:54:07 +0000 |
commit | adb0220a2d6b6e6b3fcd2a1fb176d8e82b76df96 (patch) | |
tree | 117beda0fc58a043f161fc9e65225c02186781d6 /sys | |
parent | d01cd4d0f6810eab8488ce014e008b96cfb3ddd4 (diff) |
set ip6_nxt to IPPROTO_ETHERIP; ok angelos@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ether.c b/sys/netinet/ip_ether.c index 4e9332f9ac8..713696fdd87 100644 --- a/sys/netinet/ip_ether.c +++ b/sys/netinet/ip_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ether.c,v 1.42 2003/03/06 09:43:35 markus Exp $ */ +/* $OpenBSD: ip_ether.c,v 1.43 2003/03/06 11:54:06 markus Exp $ */ /* * The author of this code is Angelos D. Keromytis (kermit@adk.gr) * @@ -396,6 +396,7 @@ etherip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, ip6 = mtod(m, struct ip6_hdr *); ip6->ip6_flow = 0; + ip6->ip6_nxt = IPPROTO_ETHERIP; ip6->ip6_vfc &= ~IPV6_VERSION_MASK; ip6->ip6_vfc |= IPV6_VERSION; ip6->ip6_plen = htons(m->m_pkthdr.len); |