Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet fix type of sysctl, from nisimura@
details: https://anonhg.NetBSD.org/src/rev/2a2572d947d6
branches: trunk
changeset: 790795:2a2572d947d6
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 21 14:25:14 2013 +0000
description:
fix type of sysctl, from nisimura@
diffstat:
sys/netinet/in_selsrc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b908481d530c -r 2a2572d947d6 sys/netinet/in_selsrc.c
--- a/sys/netinet/in_selsrc.c Mon Oct 21 09:02:08 2013 +0000
+++ b/sys/netinet/in_selsrc.c Mon Oct 21 14:25:14 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_selsrc.c,v 1.9 2012/06/02 21:36:47 dsl Exp $ */
+/* $NetBSD: in_selsrc.c,v 1.10 2013/10/21 14:25:14 christos Exp $ */
/*-
* Copyright (c) 2005 David Young. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_selsrc.c,v 1.9 2012/06/02 21:36:47 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_selsrc.c,v 1.10 2013/10/21 14:25:14 christos Exp $");
#include "opt_inet.h"
#include "opt_inet_conf.h"
@@ -147,7 +147,7 @@
}
#endif /* GETIFA_DEBUG */
if ((rc = sysctl_createv(clog, 0, &rnode, &cnode,
- CTLFLAG_READWRITE, CTLTYPE_STRING, "default",
+ CTLFLAG_READWRITE, CTLTYPE_STRUCT, "default",
SYSCTL_DESCR("default source selection policy"),
in_sysctl_selectsrc, 0, &default_iss, IN_SELECTSRC_LEN,
CTL_CREATE, CTL_EOL)) != 0) {
Home |
Main Index |
Thread Index |
Old Index