diff options
author | 1999-02-25 21:59:50 +0000 | |
---|---|---|
committer | 1999-02-25 21:59:50 +0000 | |
commit | 60a810e03090e68ab68578b480ca52f344af9dfc (patch) | |
tree | ecbb5623e9dd7578dd85c7d9751a57d628852641 | |
parent | constify getcap(3). This fixes a warning in libcurses and doesn't (diff) | |
download | wireguard-openbsd-60a810e03090e68ab68578b480ca52f344af9dfc.tar.xz wireguard-openbsd-60a810e03090e68ab68578b480ca52f344af9dfc.zip |
mib for pf_key is PF_KEY not PF_KEY_V2
-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; |