summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-11-02 10:24:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-11-02 10:24:35 +0000
commit7b92ded008c3ac0b66c14156ceb0b2a694f6d78e (patch)
treead151bf36eac80a24fb8647be0580671daf4a244 /sbin/sysctl/sysctl.c
parent8d8e56a4d9f5fd18fd0654d9a2312c3b157f9344 (diff)
expose the kernels network livelock counter
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index b71b9acae61..9c96a2e55ec 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.173 2010/08/19 18:14:14 kettenis Exp $ */
+/* $OpenBSD: sysctl.c,v 1.174 2010/11/02 10:24:34 dlg Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -447,6 +447,9 @@ parse(char *string, int flags)
case KERN_CONSDEV:
special |= CHRDEV;
break;
+ case KERN_NETLIVELOCKS:
+ special |= UNSIGNED;
+ break;
}
break;