From 74c286fba427f1af01c7e2343bdcd15a72052e8c Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Fri, 24 May 2024 15:00:00 -0400 Subject: [PATCH] Fix #534 typo --- src/nfdump/nflowcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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