Skip to content

Commit

Permalink
Fixes kernel interface statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
vimes committed Oct 6, 2024
1 parent fd8c5e8 commit ada7a85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dataplane/kernel_interface_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit ada7a85

Please sign in to comment.