Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Fix bug, should be ip6_protox[].



details:   https://anonhg.NetBSD.org/src/rev/a0866f7687d4
branches:  trunk
changeset: 447516:a0866f7687d4
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Jan 14 18:51:15 2019 +0000

description:
Fix bug, should be ip6_protox[].

diffstat:

 sys/netinet6/ip6_input.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f30a9b952e7e -r a0866f7687d4 sys/netinet6/ip6_input.c
--- a/sys/netinet6/ip6_input.c  Mon Jan 14 17:25:12 2019 +0000
+++ b/sys/netinet6/ip6_input.c  Mon Jan 14 18:51:15 2019 +0000
@@ -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 @@
                         * 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;
 



Home | Main Index | Thread Index | Old Index