summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-12-14 10:20:18 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-12-14 10:20:18 +0000
commit32ebb26c32d91174d1e3d8a72f37bc7ced513745 (patch)
treeb806a374ce31c86c4162943cacd05b60bc07794b /usr.sbin/snmpd
parent641569fe6d53f89f530f3670a65fd72b550ed10e (diff)
I requested an official PEN for OpenBSD from the IANA because I wanted
to use a new and unused one for OpenBSD-specific MIBs in snmpd. Now it's there: 30155. Private Enterprise Number: 30155 Organization Name: OpenBSD Project Contact Name: Reyk Floeter Contact E-mail: reyk@openbsd.org
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r--usr.sbin/snmpd/mib.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/snmpd/mib.h b/usr.sbin/snmpd/mib.h
index 5dbefc04bad..ae7fd1e2013 100644
--- a/usr.sbin/snmpd/mib.h
+++ b/usr.sbin/snmpd/mib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mib.h,v 1.4 2007/12/10 23:23:21 gilles Exp $ */
+/* $OpenBSD: mib.h,v 1.5 2007/12/14 10:20:17 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -237,15 +237,10 @@
#define MIB_SFLOW MIB_ENTERPRISES, 14706
#define MIB_MSYS MIB_ENTERPRISES, 18623
#define MIB_VANTRONIX MIB_ENTERPRISES, 26766
-
-/*
- * XXX I'm still waiting for the reply from IANA to get an OpenBSD PEN.
- * XXX It is OK for now to use a sub-id of the .vantronix PEN.
- */
-#define MIB_OPENBSD MIB_VANTRONIX, 42
-#define MIB_SYSOID_DEFAULT MIB_OPENBSD, 23, 1
+#define MIB_OPENBSD MIB_ENTERPRISES, 30155
/* OPENBSD-MIB */
+#define MIB_SYSOID_DEFAULT MIB_OPENBSD, 23, 1
#define MIB_SENSORMIBOBJECTS MIB_OPENBSD, 2
#define MIB_SENSORS MIB_SENSORMIBOBJECTS, 1
#define MIB_SENSORNUMBER MIB_SENSORS, 1