aboutsummaryrefslogtreecommitdiff
path: root/pcap-snf.c
diff options
context:
space:
mode:
authorMyricom Help <myri@users.noreply.github.com>2014-09-07 10:05:29 -0700
committerMyricom Help <myri@users.noreply.github.com>2014-09-07 10:05:29 -0700
commit447d831a7391e519d945b6840a9b064a0497441a (patch)
treea5fb430a5b20244426a3a631d7ec2b80bcba4f31 /pcap-snf.c
parent2be29ccd656b10acff275ac064c1ca09c0a6605b (diff)
using the PACKET_COUNT_IS_UNLIMITED() macro
Diffstat (limited to 'pcap-snf.c')
-rw-r--r--pcap-snf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-snf.c b/pcap-snf.c
index bc471836..db590000 100644
--- a/pcap-snf.c
+++ b/pcap-snf.c
@@ -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 || PACKET_COUNT_S_UNLIMITED(cnt)) {
+ while (n < cnt || PACKET_COUNT_IS_UNLIMITED(cnt)) {
/*
* Has "pcap_breakloop()" been called?
*/