diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-25 21:59:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-25 21:59:51 +0000 |
commit | 07c3ccc525f2bac58e4632bde3a386e185b0a195 (patch) | |
tree | f7380aa97e9ee6dfab5f5f5f741eae1ae3b1aeff /usr.sbin/sysctl/sysctl.c | |
parent | 667b180a04ef7b68c9988503684d33e0845f6921 (diff) |
mib for pf_key is PF_KEY not PF_KEY_V2
Diffstat (limited to 'usr.sbin/sysctl/sysctl.c')
-rw-r--r-- | usr.sbin/sysctl/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |