diff --git a/src/source-pcap.c b/src/source-pcap.c index 38c7a88506..a4df56f785 100644 --- a/src/source-pcap.c +++ b/src/source-pcap.c @@ -333,7 +333,7 @@ int DecodePcapThreadInit(ThreadVars *tv, void *initdata, void **data) &tv->pctx, TYPE_Q_NONE, 1); PerfRegisterCounter("decoder.ppp", "DecodePcap", TYPE_UINT64, "NULL", &tv->pctx, TYPE_Q_NONE, 1); - PerfRegisterCounter("decoder.avg_pkt_size", "DecodePcap", TYPE_UINT64, "NULL", + PerfRegisterCounter("decoder.avg_pkt_size", "DecodePcap", TYPE_DOUBLE, "NULL", &tv->pctx, TYPE_Q_AVERAGE, 1); PerfRegisterCounter("decoder.max_pkt_size", "DecodePcap", TYPE_UINT64, "NULL", &tv->pctx, TYPE_Q_MAXIMUM, 1);