Skip to content

Commit

Permalink
Increase Pcap buffering.
Browse files Browse the repository at this point in the history
  • Loading branch information
drmpeg committed Dec 20, 2016
1 parent b7fe4eb commit a93f31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bbheader_source_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ namespace gr {
pcap_close(descr);
throw std::runtime_error("Error calling pcap_set_snaplen()\n");
}
if (pcap_set_buffer_size(descr, 1024 * 1024) != 0) {
if (pcap_set_buffer_size(descr, 1024 * 1024 * 16) != 0) {
pcap_close(descr);
throw std::runtime_error("Error calling pcap_set_buffer_size()\n");
}
Expand Down

0 comments on commit a93f31e

Please sign in to comment.