summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2013-09-26 08:12:41 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2013-09-26 08:12:41 +0000
commit3b80c4d1bc1b1577ef2085348ccdecd83ea77147 (patch)
tree6326f46d4d7751b6f804fa0e62b5a52af12e85c0
parentd4c60e880e2363133d64e4e4f680876039f37f68 (diff)
smi is an SNMP term that means "Structure of Managed Information". I
thought about renaming the functions to just "snmp", but "smi" totally makes sense. So add a comment that explains the meaning of SMI (not life).
-rw-r--r--usr.sbin/snmpd/smi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/smi.c b/usr.sbin/snmpd/smi.c
index 48a07e6c5cd..8a64de7e287 100644
--- a/usr.sbin/snmpd/smi.c
+++ b/usr.sbin/snmpd/smi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smi.c,v 1.9 2013/06/21 07:07:55 gerhard Exp $ */
+/* $OpenBSD: smi.c,v 1.10 2013/09/26 08:12:40 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -185,6 +185,7 @@ smi_mibtree(struct oid *oids)
int
smi_init(void)
{
+ /* Initialize the Structure of Managed Information (SMI) */
RB_INIT(&smi_oidtree);
mib_init();
return (0);