diff --git a/src/nfdump/nflowcache.c b/src/nfdump/nflowcache.c index a7a406e2..df279e31 100755 --- a/src/nfdump/nflowcache.c +++ b/src/nfdump/nflowcache.c @@ -696,7 +696,7 @@ static uint64_t order_bpp_inout(FlowHashRecord_t *record) { uint64_t packets = record->inPackets + record->outPackets; if (packets == 0) return 0; - uint64_t bytes = record->outBytes + record->outBytes; + uint64_t bytes = record->inBytes + record->outBytes; return bytes / packets; } // End of order_bpp_inout