summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/mib.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-03-15 00:56:09 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-03-15 00:56:09 +0000
commitd649167ec3bf777cf71ab297e44201e5e31a77ed (patch)
tree918c7994fb6a6e6f1d519a9e93967f7fdf72b766 /usr.sbin/snmpd/mib.c
parenta7e1e49f9863e50aaf5c859621ed20bb7ed0bfd7 (diff)
move zerodotzero up so more stuff can use it
this is an ok bit of a bigger diff that reyk wanted split up
Diffstat (limited to 'usr.sbin/snmpd/mib.c')
-rw-r--r--usr.sbin/snmpd/mib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/mib.c b/usr.sbin/snmpd/mib.c
index fe48ae3aae0..7da35e160f0 100644
--- a/usr.sbin/snmpd/mib.c
+++ b/usr.sbin/snmpd/mib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mib.c,v 1.20 2008/03/10 11:02:32 dlg Exp $ */
+/* $OpenBSD: mib.c,v 1.21 2008/03/15 00:56:08 dlg Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -60,6 +60,7 @@ int mib_sysor(struct oid *, struct ber_oid *, struct ber_element **);
int mib_setsnmp(struct oid *, struct ber_oid *, struct ber_element **);
static struct oid mib_tree[] = MIB_TREE;
+static struct ber_oid zerodotzero = { { 0, 0 }, 2 };
/* base MIB tree */
static struct oid base_mib[] = {
@@ -425,7 +426,6 @@ int mib_ifstacklast(struct oid *, struct ber_oid *, struct ber_element **);
int mib_ifrcvtable(struct oid *, struct ber_oid *, struct ber_element **);
static u_int8_t ether_zeroaddr[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
-static struct ber_oid zerodotzero = { { 0, 0 }, 2 };
static struct oid if_mib[] = {
{ MIB(ifMIB), OID_MIB },