summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpctl/snmpctl.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2013-10-01 17:20:40 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2013-10-01 17:20:40 +0000
commit28c9a1a99df355fd5e9b1014a1cfa3bdc8c7b2fc (patch)
tree4bc0c05a4dd2642e4ebfa55724897a37143277d4 /usr.sbin/snmpctl/snmpctl.c
parent652e85cf0b115bd304a83798418dda078c140d5a (diff)
Initial support for the "bulkwalk" command.
Diffstat (limited to 'usr.sbin/snmpctl/snmpctl.c')
-rw-r--r--usr.sbin/snmpctl/snmpctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/snmpctl/snmpctl.c b/usr.sbin/snmpctl/snmpctl.c
index 2db33233860..8c18f822689 100644
--- a/usr.sbin/snmpctl/snmpctl.c
+++ b/usr.sbin/snmpctl/snmpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpctl.c,v 1.17 2013/10/01 12:41:49 reyk Exp $ */
+/* $OpenBSD: snmpctl.c,v 1.18 2013/10/01 17:20:39 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -124,6 +124,7 @@ main(int argc, char *argv[])
break;
case WALK:
case GET:
+ case BULKWALK:
snmpclient(res);
break;
default:
@@ -171,6 +172,7 @@ main(int argc, char *argv[])
case SHOW_MIB:
case WALK:
case GET:
+ case BULKWALK:
break;
case TRAP:
imsg_compose(ibuf, IMSG_SNMP_END, 0, 0, -1, NULL, 0);
@@ -203,6 +205,7 @@ main(int argc, char *argv[])
case SHOW_MIB:
case WALK:
case GET:
+ case BULKWALK:
break;
}
imsg_free(&imsg);