From c2ad18e846a6862791762b512310707738985780 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 20 Nov 2005 14:41:23 +0000 Subject: some plugins support packet and flow data types --- filter/ulogd_filter_IFINDEX.c | 4 ++-- output/mysql/ulogd_output_MYSQL.c | 2 +- output/ulogd_output_IPFIX.c | 2 +- output/ulogd_output_OPRINT.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/filter/ulogd_filter_IFINDEX.c b/filter/ulogd_filter_IFINDEX.c index 886592b..b386f4a 100644 --- a/filter/ulogd_filter_IFINDEX.c +++ b/filter/ulogd_filter_IFINDEX.c @@ -132,12 +132,12 @@ static struct ulogd_plugin ifindex_plugin = { .input = { .keys = ifindex_inp, .num_keys = ARRAY_SIZE(ifindex_inp), - .type = ULOGD_DTYPE_PACKET, + .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, }, .output = { .keys = ifindex_keys, .num_keys = ARRAY_SIZE(ifindex_keys), - .type = ULOGD_DTYPE_PACKET, + .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, }, .interp = &interp_ifindex, diff --git a/output/mysql/ulogd_output_MYSQL.c b/output/mysql/ulogd_output_MYSQL.c index ac04be9..602654e 100644 --- a/output/mysql/ulogd_output_MYSQL.c +++ b/output/mysql/ulogd_output_MYSQL.c @@ -515,7 +515,7 @@ static struct ulogd_plugin mysql_plugin = { .input = { .keys = NULL, .num_keys = 0, - .type = ULOGD_DTYPE_PACKET, + .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, }, .output = { .type = ULOGD_DTYPE_SINK, diff --git a/output/ulogd_output_IPFIX.c b/output/ulogd_output_IPFIX.c index 966a56f..2a46b37 100644 --- a/output/ulogd_output_IPFIX.c +++ b/output/ulogd_output_IPFIX.c @@ -162,7 +162,7 @@ static struct ulogd_plugin ipfix_plugin = { .input = { .keys = printpkt_keys, .num_keys = ARRAY_SIZE(printpkt_keys), - .type = ULOGD_DTYPE_PACKET, + .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, }, .output = { .type = ULOGD_DTYPE_SINK, diff --git a/output/ulogd_output_OPRINT.c b/output/ulogd_output_OPRINT.c index 89a8095..53638ce 100644 --- a/output/ulogd_output_OPRINT.c +++ b/output/ulogd_output_OPRINT.c @@ -199,7 +199,7 @@ static int oprint_fini(struct ulogd_pluginstance *pi) static struct ulogd_plugin oprint_plugin = { .name = "OPRINT", .input = { - .type = ULOGD_DTYPE_PACKET, + .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, }, .output = { .type = ULOGD_DTYPE_SINK, -- cgit v1.2.3