Skip to content

Commit 9888f4f

Browse files
committed
on_vmnet_packets_available: fix arg
Fix issue 22 Thanks to dzc15331066 for reporting. Signed-off-by: Akihiro Suda <[email protected]>
1 parent cedd8bd commit 9888f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void on_vmnet_packets_available(interface_ref iface, int64_t estim_count,
228228
"r=%lld",
229229
estim_count, MAX_PACKET_COUNT_AT_ONCE, q, r);
230230
for (int i = 0; i < q; i++) {
231-
_on_vmnet_packets_available(iface, q, max_bytes, state);
231+
_on_vmnet_packets_available(iface, MAX_PACKET_COUNT_AT_ONCE, max_bytes, state);
232232
}
233233
if (r > 0)
234234
_on_vmnet_packets_available(iface, r, max_bytes, state);

0 commit comments

Comments
 (0)