Skip to content

Commit

Permalink
Merge pull request #27 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
on_vmnet_packets_available: fix arg
  • Loading branch information
AkihiroSuda committed Jan 26, 2023
2 parents b009524 + 9888f4f commit 8ffb143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ static void on_vmnet_packets_available(interface_ref iface, int64_t estim_count,
"r=%lld",
estim_count, MAX_PACKET_COUNT_AT_ONCE, q, r);
for (int i = 0; i < q; i++) {
_on_vmnet_packets_available(iface, q, max_bytes, state);
_on_vmnet_packets_available(iface, MAX_PACKET_COUNT_AT_ONCE, max_bytes, state);
}
if (r > 0)
_on_vmnet_packets_available(iface, r, max_bytes, state);
Expand Down

0 comments on commit 8ffb143

Please sign in to comment.