diff options
-rw-r--r-- | sbin/sysctl/sysctl.c | 6 | ||||
-rw-r--r-- | usr.sbin/sysctl/sysctl.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 5b63afe40e8..4b9afb5f4a6 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.36 1999/02/24 22:59:43 angelos Exp $ */ +/* $OpenBSD: sysctl.c,v 1.37 1999/02/25 21:59:50 deraadt 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.36 1999/02/24 22:59:43 angelos Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.37 1999/02/25 21:59:50 deraadt Exp $"; #endif #endif /* not lint */ @@ -391,7 +391,7 @@ parse(string, flags) break; return; } - if (mib[1] == PF_KEY_V2) { + if (mib[1] == PF_KEY) { len = sysctl_ipsec(string, &bufp, mib, flags, &type); if (len >= 0) break; diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c index 5b63afe40e8..4b9afb5f4a6 100644 --- a/usr.sbin/sysctl/sysctl.c +++ b/usr.sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.36 1999/02/24 22:59:43 angelos Exp $ */ +/* $OpenBSD: sysctl.c,v 1.37 1999/02/25 21:59:50 deraadt 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.36 1999/02/24 22:59:43 angelos Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.37 1999/02/25 21:59:50 deraadt Exp $"; #endif #endif /* not lint */ @@ -391,7 +391,7 @@ parse(string, flags) break; return; } - if (mib[1] == PF_KEY_V2) { + if (mib[1] == PF_KEY) { len = sysctl_ipsec(string, &bufp, mib, flags, &type); if (len >= 0) break; |