diff options
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r-- | epan/dissectors/packet-udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c index 1e784a4a3a..4a1a6dbabe 100644 --- a/epan/dissectors/packet-udp.c +++ b/epan/dissectors/packet-udp.c @@ -699,7 +699,7 @@ capture_udp(const guchar *pd _U_, int offset _U_, int len _U_, capture_packet_in if (!BYTES_ARE_IN_FRAME(offset, len, 4)) return FALSE; - cpinfo->counts->udp++; + capture_dissector_increment_count(cpinfo, hfi_udp->id); src_port = pntoh16(&pd[offset]); dst_port = pntoh16(&pd[offset+2]); |