ipmi plugin: Add a stupi bug which prevented basically all sensors from being collected.
authorFlorian Forster <octo@noris.net>
Fri, 4 Apr 2008 08:54:40 +0000 (10:54 +0200)
committerFlorian Forster <octo@noris.net>
Fri, 4 Apr 2008 08:54:40 +0000 (10:54 +0200)
src/ipmi.c

index 5e4a6ad..bba4599 100644 (file)
@@ -121,7 +121,7 @@ static void sensor_read_handler (ipmi_sensor_t *sensor,
     return;
   }
 
-  if (value_present != IPMI_RAW_VALUE_PRESENT)
+  if (value_present != IPMI_BOTH_VALUES_PRESENT)
   {
     INFO ("ipmi plugin: sensor_read_handler: Removing sensor %s, "
         "because it provides %s.",