diff options
author | Myricom Help <myri@users.noreply.github.com> | 2014-09-07 10:03:27 -0700 |
---|---|---|
committer | Myricom Help <myri@users.noreply.github.com> | 2014-09-07 10:03:27 -0700 |
commit | 2be29ccd656b10acff275ac064c1ca09c0a6605b (patch) | |
tree | 32b07d43cdfcd46d83328a70309e9ac8ccedcb27 /pcap-snf.c | |
parent | 69144228592dd266b222832ff2638200884adcba (diff) |
using the PACKET_COUNT_IS_UNLIMITED() macro
Diffstat (limited to 'pcap-snf.c')
-rw-r--r-- | pcap-snf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ snf_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) n = 0; timeout = ps->snf_timeout; - while (n < cnt || cnt <= 0) { + while (n < cnt || PACKET_COUNT_S_UNLIMITED(cnt)) { /* * Has "pcap_breakloop()" been called? */ |