From 1d8911ebb7cecdf09e42812fbaa4886026e1c63d Mon Sep 17 00:00:00 2001 From: Zakir Durumeric Date: Mon, 2 Sep 2013 17:13:17 -0400 Subject: [PATCH] changing size of udp output fields len --- src/probe_modules/module_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/probe_modules/module_udp.c b/src/probe_modules/module_udp.c index 82c6255..3f78819 100644 --- a/src/probe_modules/module_udp.c +++ b/src/probe_modules/module_udp.c @@ -299,6 +299,6 @@ probe_module_t module_udp = { .process_packet = &udp_process_packet, .close = &udp_global_cleanup, .fields = fields, - .numfields = 6 + .numfields = sizeof(fields)/sizeof(fields[0]) };