Skip to content

Commit

Permalink
fixed pcap complete event
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Pilkenton committed Jan 9, 2012
1 parent bab377c commit 2850a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcap_binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Dispatch(const Arguments& args)
total_packets += packet_count;
} while (packet_count > 0);

return scope.Close(Integer::NewFromUnsigned(total_packets));
return scope.Close(Integer::NewFromUnsigned(packet_count));
}

Handle<Value>
Expand Down

0 comments on commit 2850a51

Please sign in to comment.