summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-16 10:05:34 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-16 10:05:34 +0000
commit19bf7dd5d0e767a8804be1d9b1d4d8468ac36eaf (patch)
tree2edc3abe85315adae32e67f3a5719ce164c43a6f
parent6e92ca3e0f55650dc5ea6dd48cd03b8d57747b18 (diff)
define correct snmpv3 version
-rw-r--r--usr.sbin/snmpd/snmp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/snmp.h b/usr.sbin/snmpd/snmp.h
index 90dda8ed8aa..f06a3337e29 100644
--- a/usr.sbin/snmpd/snmp.h
+++ b/usr.sbin/snmpd/snmp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmp.h,v 1.4 2008/01/16 09:51:15 reyk Exp $ */
+/* $OpenBSD: snmp.h,v 1.5 2008/01/16 10:05:33 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -69,8 +69,8 @@ struct snmp_imsg {
enum snmp_version {
SNMP_V1 = 0,
- SNMP_V2 = 1,
- SNMP_V3 = 2
+ SNMP_V2 = 1, /* SNMPv2c */
+ SMMP_V3 = 3
};
enum snmp_context {