summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee91837)
raw | patch | inline | side by side (parent: ee91837)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 2 Mar 2009 08:49:22 +0000 (09:49 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 2 Mar 2009 08:49:22 +0000 (09:49 +0100) |
Negative absolute (gauge) values may be casted to an unsigned integer
variable on their way throught he daemon, producing VERY HIGH tempera-
tures in winter..
variable on their way throught he daemon, producing VERY HIGH tempera-
tures in winter..
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index 4d6e76947a37ef983c7180debff49dfc1c25f6c0..995f39deff913ee77a9cf807f12d323635236a85 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
}
} /* void csnmp_host_open_session */
+/* TODO: Check if negative values wrap around. Problem: negative temperatures. */
static value_t csnmp_value_list_to_value (struct variable_list *vl, int type,
double scale, double shift)
{