From ada7a854e4d6c85ce791ea924e0fada4ea03ce0b Mon Sep 17 00:00:00 2001 From: vimes Date: Fri, 4 Oct 2024 20:09:40 +0300 Subject: [PATCH] Fixes kernel interface statistics --- dataplane/kernel_interface_handler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dataplane/kernel_interface_handler.cpp b/dataplane/kernel_interface_handler.cpp index 3e1454c1..560ea09a 100644 --- a/dataplane/kernel_interface_handler.cpp +++ b/dataplane/kernel_interface_handler.cpp @@ -195,9 +195,9 @@ void KernelInterfaceWorker::ForwardToPhy() } auto& stats = stats_[i]; - stats.opackets += transmitted; - stats.obytes += bytes; - stats.odropped += remain; + stats.ipackets += transmitted; + stats.ibytes += bytes; + stats.idropped += remain; } }