diff options
Diffstat (limited to 'sys/net/pipex.c')
-rw-r--r-- | sys/net/pipex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c index 7b1088fde74..84709c502ce 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.128 2021/01/02 13:15:15 mvs Exp $ */ +/* $OpenBSD: pipex.c,v 1.129 2021/01/09 21:00:04 gnezdo Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -2771,8 +2771,8 @@ pipex_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, case PIPEXCTL_ENABLE: if (namelen != 1) return (ENOTDIR); - return (sysctl_int(oldp, oldlenp, newp, newlen, - &pipex_enable)); + return (sysctl_int_bounded(oldp, oldlenp, newp, newlen, + &pipex_enable, 0, 1)); default: return (ENOPROTOOPT); } |