From 9a964d704b369e2cd165341fab754879c3f647f8 Mon Sep 17 00:00:00 2001 From: Stefan Rinkes Date: Thu, 14 Apr 2011 21:59:40 +0200 Subject: [PATCH] pf plugin: pf values are GAUGE Part II --- src/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pf.c b/src/pf.c index c98f2100..a52bc9e4 100644 --- a/src/pf.c +++ b/src/pf.c @@ -60,10 +60,10 @@ submit_counter(const char *type, const char *inst, counter_t val) 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)); -- 2.11.0