summaryrefslogtreecommitdiff
path: root/mib
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-04-05 05:14:17 +0000
committerStef Walter <stef@memberwebs.com>2006-04-05 05:14:17 +0000
commitb6044e96fe7860f20a3964b962627451b78439dc (patch)
tree5abe17b4d2e6d6830a961e0c3982535cabaca3a2 /mib
parentd3e86b52b596480a07978a12462c1fe97df16c77 (diff)
MIB fixes.
Diffstat (limited to 'mib')
-rw-r--r--mib/mib-parser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mib/mib-parser.c b/mib/mib-parser.c
index 7d17973..9e36442 100644
--- a/mib/mib-parser.c
+++ b/mib/mib-parser.c
@@ -176,7 +176,6 @@ mib_init()
add_mibdir(mib_directory);
read_all_mibs();
- warnx("loaded all MIB files");
initialized = 1;
}
@@ -258,10 +257,8 @@ mib_get_node(struct asn_oid* oid)
void
mib_uninit()
{
- if(initialized) {
+ if(initialized)
unload_all_mibs();
- warnx("unloaded all MIB files");
- }
initialized = 0;
}