diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-23 23:03:32 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-23 23:03:32 +0000 |
commit | c8c9c6eceb7c953a550fd0239f00dbd12cfd8b52 (patch) | |
tree | ead2fefcbc8d82da392a3b776ddadadd445af8a2 /sys | |
parent | 1a18d4b0a896d725497e9efbcae901cfeb44d6ff (diff) |
correct length of PADN option before jumbo payload option. sync w/kame
deraadt ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index ee19630785f..c0ab57dfc2b 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.71 2002/09/11 03:27:30 itojun Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.72 2002/09/23 23:03:31 itojun Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -1051,7 +1051,7 @@ ip6_insert_jumboopt(exthdrs, plen) mopt->m_len += JUMBOOPTLEN; } optbuf[0] = IP6OPT_PADN; - optbuf[1] = 1; + optbuf[1] = 0; /* * Adjust the header length according to the pad and |