changing size of udp output fields len

This commit is contained in:
Zakir Durumeric 2013-09-02 17:13:17 -04:00
parent 8c8049dd66
commit 1d8911ebb7

View File

@ -299,6 +299,6 @@ probe_module_t module_udp = {
.process_packet = &udp_process_packet, .process_packet = &udp_process_packet,
.close = &udp_global_cleanup, .close = &udp_global_cleanup,
.fields = fields, .fields = fields,
.numfields = 6 .numfields = sizeof(fields)/sizeof(fields[0])
}; };