Module Name: src
Committed By: maxv
Date: Mon Jan 14 18:51:15 UTC 2019
Modified Files:
src/sys/netinet6: ip6_input.c
Log Message:
Fix bug, should be ip6_protox[].
To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 src/sys/netinet6/ip6_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet6/ip6_input.c
diff -u src/sys/netinet6/ip6_input.c:1.205 src/sys/netinet6/ip6_input.c:1.206
--- src/sys/netinet6/ip6_input.c:1.205 Thu Nov 15 10:23:56 2018
+++ src/sys/netinet6/ip6_input.c Mon Jan 14 18:51:15 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_input.c,v 1.205 2018/11/15 10:23:56 maxv Exp $ */
+/* $NetBSD: ip6_input.c,v 1.206 2019/01/14 18:51:15 maxv Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.205 2018/11/15 10:23:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.206 2019/01/14 18:51:15 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_gateway.h"
@@ -739,7 +739,7 @@ hbhcheck:
* header. Note that we do not visit this with
* protocols with pcb layer code - like udp/tcp/raw ip.
*/
- if ((inet6sw[ip_protox[nxt]].pr_flags
+ if ((inet6sw[ip6_protox[nxt]].pr_flags
& PR_LASTHDR) != 0) {
int error;