summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ff08df)
raw | patch | inline | side by side (parent: 6ff08df)
author | Stefan Rinkes <stefan.rinkes@gmail.com> | |
Sun, 17 Apr 2011 08:07:06 +0000 (10:07 +0200) | ||
committer | Stefan Rinkes <stefan.rinkes@gmail.com> | |
Sun, 17 Apr 2011 08:07:40 +0000 (10:07 +0200) |
src/pf.c | patch | blob | history | |
src/types.db | patch | blob | history | |
types.pfrules.db | patch | blob | history |
diff --git a/src/pf.c b/src/pf.c
index 976b32f8e15fad75a7a4787f8db15e48928411e7..7c677bf62b920ad662e8cadfe3da8495fbf1b0fc 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
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;
diff --git a/src/types.db b/src/types.db
index bfd349f91ce28d0e84244f3d7950ce319062b35e..f073449f158f738d625aeff344c6fd24a727571a 100644 (file)
--- a/src/types.db
+++ b/src/types.db
-pf_counters value:GAUGE:U:U
-pf_limits value:GAUGE:U:U
-pf_state value:GAUGE:U:U
-pf_source value:GAUGE:U:U
+pf_counters value:COUNTER:0:U
+pf_limits value:COUNTER:0:U
+pf_state value:COUNTER:0:U
+pf_source value:COUNTER:0:U
diff --git a/types.pfrules.db b/types.pfrules.db
index e405567b91133bb4f311497712feaac22c59826d..2006a878ecb7d38de17eaa8bd29d16b9c6fb0504 100644 (file)
--- a/types.pfrules.db
+++ b/types.pfrules.db
-states_cur value:GAUGE:U:U
-states_tot value:GAUGE:U:U
-evaluations value:GAUGE:U:U
-bytes value:GAUGE:U:U
+states_cur value:GAUGE:0:U
+states_tot value:COUNTER:0:U
+evaluations value:COUNTER:0:U
+pf_bytes value:COUNTER:0:U