summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-09-20 16:29:52 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-09-20 16:29:52 +0000
commit1204a315f0ee81ad6a88b52df29c00e0a0da3501 (patch)
tree7b6e8ac6ad08fdfc19fd38972f562d822bb241f3 /usr.sbin/snmpd
parent77a8f3c35e00f30d72511f7c4e5cfd31846a2b46 (diff)
fix-up the sysORTable by using the same name (sensorsMIBObjects) as used
in the MIB, rather than a different spelling (sensorMIBObjects). ok martinh@
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r--usr.sbin/snmpd/mib.c4
-rw-r--r--usr.sbin/snmpd/mib.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/snmpd/mib.c b/usr.sbin/snmpd/mib.c
index ef6fcca744b..86420d5e316 100644
--- a/usr.sbin/snmpd/mib.c
+++ b/usr.sbin/snmpd/mib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mib.c,v 1.40 2010/06/11 10:45:36 jsg Exp $ */
+/* $OpenBSD: mib.c,v 1.41 2010/09/20 16:29:51 sthen Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -1221,7 +1221,7 @@ char *mib_sensorvalue(struct sensor *);
int mib_memiftable(struct oid *, struct ber_oid *, struct ber_element **);
static struct oid openbsd_mib[] = {
- { MIB(sensorMIBObjects), OID_MIB },
+ { MIB(sensorsMIBObjects), OID_MIB },
{ MIB(sensorNumber), OID_RD, mib_sensornum },
{ MIB(sensorIndex), OID_TRD, mib_sensors },
{ MIB(sensorDescr), OID_TRD, mib_sensors },
diff --git a/usr.sbin/snmpd/mib.h b/usr.sbin/snmpd/mib.h
index 5ede7428d89..eaee05cf935 100644
--- a/usr.sbin/snmpd/mib.h
+++ b/usr.sbin/snmpd/mib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mib.h,v 1.20 2010/06/11 10:45:36 jsg Exp $ */
+/* $OpenBSD: mib.h,v 1.21 2010/09/20 16:29:51 sthen Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -398,8 +398,8 @@
/* OPENBSD-MIB */
#define MIB_pfMIBObjects MIB_openBSD, 1
-#define MIB_sensorMIBObjects MIB_openBSD, 2
-#define MIB_sensors MIB_sensorMIBObjects, 1
+#define MIB_sensorsMIBObjects MIB_openBSD, 2
+#define MIB_sensors MIB_sensorsMIBObjects, 1
#define MIB_sensorNumber MIB_sensors, 1
#define MIB_sensorTable MIB_sensors, 2
#define MIB_sensorEntry MIB_sensorTable, 1
@@ -683,7 +683,7 @@
{ MIBDECL(vantronix) }, \
{ MIBDECL(openBSD) }, \
\
- { MIBDECL(sensorMIBObjects) }, \
+ { MIBDECL(sensorsMIBObjects) }, \
{ MIBDECL(sensors) }, \
{ MIBDECL(sensorNumber) }, \
{ MIBDECL(sensorTable) }, \