Skip to content

Commit c26f068

Browse files
committed
v1.0.0 - Pcap is out of beta.
1 parent 92164a3 commit c26f068

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

changelog.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
Changelog
22
=========
33

4-
## v0.3.3 - April 21, 2012
4+
## v1.0.0 - August 28, 2013
5+
6+
Support for multiple sessions is introduced. Pcap is officially out of beta.
7+
8+
## v0.3.3 - April 21, 2013
9+
510
Resolved "Symbol pcap_binding_module not found" by adding NODE_MODULE directive.
611

7-
## v0.3.2 - April 9, 2012
12+
## v0.3.2 - April 9, 2013
13+
814
Bumped version to test npm install
915

1016
## v0.3.0 - January 14, 2012

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "pcap",
3-
"version" : "0.4.1",
3+
"version" : "1.0.0",
44
"description" : "raw packet capture, decoding, and analysis",
55
"author": "Matt Ranney <mjr@ranney.com>",
66
"maintainers": [

pcap_session.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,9 @@ PcapSession::Dispatch(const Arguments& args)
114114
session->buffer_length = buffer_obj->length();
115115
#endif
116116

117-
int packet_count, total_packets = 0;
117+
int packet_count;
118118
do {
119119
packet_count = pcap_dispatch(session->pcap_handle, 1, PacketReady, (u_char *)session);
120-
total_packets += packet_count;
121120
} while (packet_count > 0);
122121

123122
return scope.Close(Integer::NewFromUnsigned(packet_count));

0 commit comments

Comments
 (0)