summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-25 09:56:01 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-25 09:56:01 +0000
commita4be9fb96572c1a74b8f75737d5f8e7e28f90d2d (patch)
treea4895653acc2c99170714dfdb16a99e2537e19a8
parentdadc3b6ce73fa4d671ad856e25e7277b0c1bf769 (diff)
re-initialize mopt in ip6_insert_jumboopt(). sync with kame
From: csapuntz@stanford.edu
-rw-r--r--sys/netinet6/ip6_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 02aa5c8e617..c966a3fc14f 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: ip6_output.c,v 1.27 2001/03/21 15:01:09 itojun Exp $ */
-/* $KAME: ip6_output.c,v 1.171 2001/03/21 07:30:48 itojun Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.28 2001/03/25 09:56:00 itojun Exp $ */
+/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1186,7 +1186,7 @@ ip6_insert_jumboopt(exthdrs, plen)
oldoptlen);
optbuf = mtod(n, caddr_t) + oldoptlen;
m_freem(mopt);
- exthdrs->ip6e_hbh = n;
+ mopt = exthdrs->ip6e_hbh = n;
} else {
optbuf = mtod(mopt, u_char *) + mopt->m_len;
mopt->m_len += JUMBOOPTLEN;