summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-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 a4c5c816e54..3e2bf9872d4 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.246 2020/06/22 11:30:23 krw Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.247 2020/07/17 15:21:36 kn Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -1576,11 +1576,11 @@ do { \
break;
case SO_RTABLE:
m->m_len = sizeof(u_int);
- *mtod(m, u_int *) = optval;
+ *mtod(m, u_int *) = inp->inp_rtableid;
break;
case IPV6_PIPEX:
m->m_len = sizeof(int);
- *mtod(m, int *) = optval;
+ *mtod(m, int *) = inp->inp_pipex;
break;
default: