diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-04-22 18:01:16 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-04-22 18:01:16 +0000 |
commit | 0d1fcf075c8c78e453714f95b0be269443fce0ff (patch) | |
tree | 30fc20b3a97262c78ec007e742da5c5cd3b75bd8 /sys/netinet6 | |
parent | 07ad12b9bcc09a28c09cb49248a600d6c9b2d8ed (diff) |
correct arg to in6_cksum. keiichi@kame
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index d6c5c1e100a..607f921ae81 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.23 2004/01/03 14:08:54 espie Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.24 2004/04/22 18:01:15 itojun Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -190,7 +190,7 @@ rip6_input(mp, offp, proto) continue; if (in6p->in6p_cksum != -1) { rip6stat.rip6s_isum++; - if (in6_cksum(m, ip6->ip6_nxt, *offp, + if (in6_cksum(m, proto, *offp, m->m_pkthdr.len - *offp)) { rip6stat.rip6s_badsum++; continue; |