summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58ea98c)
raw | patch | inline | side by side (parent: 58ea98c)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 19 Oct 2006 19:13:45 +0000 (19:13 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 19 Oct 2006 19:13:45 +0000 (19:13 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1503 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/check_snmp.c | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index 4ded0eea295b87af6484fef9a49c4efcb8435626..ad08a77773b5397828497b30c238ab3c54aca1f0 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Andreas Behal
O'Shaughnessy Evans
Aravind Gottipati
+Kyle Tucker
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index be7810e3e5fcc6a7d318d42dc8019d684cffef5b..88f89c43a31a13b61d2b38ce094d1e2f89671283 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
}
/* We strip out the datatype indicator for PHBs */
+
+ /* Clean up type array - Sol10 does not necessarily zero it out */
+ bzero(type, sizeof(type));
+
if (strstr (response, "Gauge: "))
show = strstr (response, "Gauge: ") + 7;
else if (strstr (response, "Gauge32: "))