Code

pf plugin: split up in GAUGE and COUNTER
[collectd.git] / src / pf.c
index 976b32f8e15fad75a7a4787f8db15e48928411e7..7c677bf62b920ad662e8cadfe3da8495fbf1b0fc 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
@@ -28,7 +28,7 @@ submit_counter(const char *type, const char *inst, counter_t val)
        value_t         values[1];
        value_list_t    vl = VALUE_LIST_INIT;
 
-       values[0].gauge = val;
+       values[0].counter = val;
 
        vl.values = values;
        vl.values_len = 1;