summaryrefslogtreecommitdiffstats
path: root/util/printflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/printflow.c')
-rw-r--r--util/printflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/printflow.c b/util/printflow.c
index 85a6570..8e10817 100644
--- a/util/printflow.c
+++ b/util/printflow.c
@@ -43,8 +43,8 @@ struct ulogd_key printflow_keys[] = {
};
int printflow_keys_num = sizeof(printflow_keys)/sizeof(*printflow_keys);
-#define GET_VALUE(res, x) (res[x].u.source->u.val)
-#define GET_FLAGS(res, x) (res[x].u.source->flags)
+#define GET_VALUE(res, x) (res[x].source->val)
+#define GET_FLAGS(res, x) (res[x].source->flags)
#define pp_is_valid(res, x) (GET_FLAGS(res, x) & ULOGD_RETF_VALID)
#define pp_print(buf_cur, label, res, x, type) \