summaryrefslogtreecommitdiffstats
path: root/filter/ulogd_filter_PRINTFLOW.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/ulogd_filter_PRINTFLOW.c')
-rw-r--r--filter/ulogd_filter_PRINTFLOW.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/ulogd_filter_PRINTFLOW.c b/filter/ulogd_filter_PRINTFLOW.c
index b78c37b..1de1ba6 100644
--- a/filter/ulogd_filter_PRINTFLOW.c
+++ b/filter/ulogd_filter_PRINTFLOW.c
@@ -37,8 +37,7 @@ static int printflow_interp(struct ulogd_pluginstance *upi)
static char buf[4096];
printflow_print(inp, buf);
- ret[0].u.value.ptr = buf;
- ret[0].flags |= ULOGD_RETF_VALID;
+ okey_set_ptr(&ret[0], buf);
return ULOGD_IRET_OK;
}