Skip to content
This repository
Browse code

fixed pcap complete event

  • Loading branch information...
commit 2850a5131ffa49030a74510feb1325b5e54c55ab 1 parent bab377c
pilks pilks authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  pcap_binding.cc
2  pcap_binding.cc
@@ -108,7 +108,7 @@ Dispatch(const Arguments& args)
108 108 total_packets += packet_count;
109 109 } while (packet_count > 0);
110 110
111   - return scope.Close(Integer::NewFromUnsigned(total_packets));
  111 + return scope.Close(Integer::NewFromUnsigned(packet_count));
112 112 }
113 113
114 114 Handle<Value>

0 comments on commit 2850a51

Please sign in to comment.
Something went wrong with that request. Please try again.