diff options
author | 2002-09-23 23:03:31 +0000 | |
---|---|---|
committer | 2002-09-23 23:03:31 +0000 | |
commit | db177b5aff06e6a7cc55f139e6c00f27342c00d4 (patch) | |
tree | 0be52f2eaa7d6d30ba2134aef0a2815386976e16 | |
parent | m6stat is a static variable (ip6_mroute.c). sync w/kame (diff) | |
download | wireguard-openbsd-db177b5aff06e6a7cc55f139e6c00f27342c00d4.tar.xz wireguard-openbsd-db177b5aff06e6a7cc55f139e6c00f27342c00d4.zip |
correct length of PADN option before jumbo payload option. sync w/kame
deraadt ok
-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 |