summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-07 21:34:59 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-07 21:34:59 +0000
commit8fdbd4cd8dcc9c79cdc9040a7f13a87b0805a28d (patch)
tree04a054198dcb6674c5c98735ff70282f77924300 /sbin/sysctl/sysctl.c
parenta668a9d13cd5ae200e2c54bc14c2e943ccaf630c (diff)
gre.allow and mobileip.allow
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 33d2821843b..fa4caf24a05 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.44 1999/12/30 19:06:06 provos Exp $ */
+/* $OpenBSD: sysctl.c,v 1.45 2000/01/07 21:34:58 angelos Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.44 1999/12/30 19:06:06 provos Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.45 2000/01/07 21:34:58 angelos Exp $";
#endif
#endif /* not lint */
@@ -74,6 +74,7 @@ static char *rcsid = "$OpenBSD: sysctl.c,v 1.44 1999/12/30 19:06:06 provos Exp $
#include <netinet/tcp.h>
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
+#include <netinet/ip_gre.h>
#ifdef INET6
#include <netinet6/ip6.h>
@@ -947,6 +948,8 @@ struct ctlname udpname[] = UDPCTL_NAMES;
struct ctlname espname[] = ESPCTL_NAMES;
struct ctlname ahname[] = AHCTL_NAMES;
struct ctlname etheripname[] = ETHERIPCTL_NAMES;
+struct ctlname grename[] = GRECTL_NAMES;
+struct ctlname mobileipname[] = MOBILEIPCTL_NAMES;
struct list inetlist = { inetname, IPPROTO_MAXID };
struct list inetvars[] = {
{ ipname, IPCTL_MAXID }, /* ip */
@@ -996,7 +999,7 @@ struct list inetvars[] = {
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
- { 0, 0 },
+ { grename, GRECTL_MAXID }, /* GRE */
{ 0, 0 },
{ 0, 0 },
{ espname, ESPCTL_MAXID }, /* esp */
@@ -1004,7 +1007,7 @@ struct list inetvars[] = {
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
- { 0, 0 },
+ { mobileipname, MOBILEIPCTL_MAXID }, /* mobileip */
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },