Module Name: src Committed By: joerg Date: Sat Jul 26 22:21:16 UTC 2014
Modified Files: src/sys/netinet6: mld6.c Log Message: PR 49036: net.inet6 has not been created when the sysctl constructor for net.inet6.multicast is run. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/netinet6/mld6.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/mld6.c diff -u src/sys/netinet6/mld6.c:1.58 src/sys/netinet6/mld6.c:1.59 --- src/sys/netinet6/mld6.c:1.58 Fri Jul 25 07:12:55 2014 +++ src/sys/netinet6/mld6.c Sat Jul 26 22:21:16 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: mld6.c,v 1.58 2014/07/25 07:12:55 ozaki-r Exp $ */ +/* $NetBSD: mld6.c,v 1.59 2014/07/26 22:21:16 joerg Exp $ */ /* $KAME: mld6.c,v 1.25 2001/01/16 14:14:18 itojun Exp $ */ /* @@ -102,7 +102,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mld6.c,v 1.58 2014/07/25 07:12:55 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mld6.c,v 1.59 2014/07/26 22:21:16 joerg Exp $"); #include "opt_inet.h" @@ -1028,6 +1028,12 @@ SYSCTL_SETUP(sysctl_in6_mklude_setup, "s sysctl_createv(clog, 0, NULL, NULL, CTLFLAG_PERMANENT, + CTLTYPE_NODE, "inet6", NULL, + NULL, 0, NULL, 0, + CTL_NET, PF_INET6, CTL_EOL); + + sysctl_createv(clog, 0, NULL, NULL, + CTLFLAG_PERMANENT, CTLTYPE_NODE, "multicast", SYSCTL_DESCR("Multicast information"), in6_multicast_sysctl, 0, NULL, 0,