diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-12-14 13:59:04 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-12-14 13:59:04 -0800 |
commit | 1a52c9a05758d162e331dc93d60c51ebeb7b0f55 (patch) | |
tree | 478ff586bbc7704822386f8ce9f0437c624672ff /pcap-pf.c | |
parent | e366409a3b4879a90c166c31f41d4aba79265282 (diff) |
Fix pcap_loop() with a count of 0 and TPACKET_V3.
A count of -1 *or* 0 should mean "loop forever", so only a count > 0
means to use the count to limit the number of packets to process.
Diffstat (limited to 'pcap-pf.c')
0 files changed, 0 insertions, 0 deletions