summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63f4242)
raw | patch | inline | side by side (parent: 63f4242)
author | Florian Forster <octo@noris.net> | |
Wed, 19 May 2010 09:47:45 +0000 (11:47 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 19 May 2010 09:47:45 +0000 (11:47 +0200) |
Thanks to "Flyinvap" for pointing this out.
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index fee2f6d50a3b6054e23781811429ac5a6cb4bd0b..96a0971ca4a571f6dc894b5d05f864278da8752f 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
{
/* We'll handle this later.. */
}
+#ifdef ASN_NULL
+ else if (vl->type == ASN_NULL)
+ {
+ /* Don't print a warning. */
+ defined = 0;
+ }
+#endif
else
{
WARNING ("snmp plugin: I don't know the ASN type `%i'", (int) vl->type);