summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc5ba2f)
raw | patch | inline | side by side (parent: dc5ba2f)
author | Stefan Rinkes <stefan.rinkes@gmail.com> | |
Thu, 14 Apr 2011 19:59:40 +0000 (21:59 +0200) | ||
committer | Stefan Rinkes <stefan.rinkes@gmail.com> | |
Thu, 14 Apr 2011 19:59:40 +0000 (21:59 +0200) |
src/pf.c | patch | blob | history |
diff --git a/src/pf.c b/src/pf.c
index c98f210035a7f6cb6df3afff24ea14b88951e72b..a52bc9e4ac2d8ed4dbc99c5d0783bcc722cf2f15 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
- values[0].counter = val;
+ values[0].gauge = val;
+
vl.values = values;
vl.values_len = 1;
-
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "pf", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof(vl.type));