aboutsummaryrefslogtreecommitdiff
path: root/pcap-snf.c
diff options
context:
space:
mode:
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 5e56af8e..5a0e1f99 100644
--- a/pcap-snf.c
+++ b/pcap-snf.c
@@ -147,7 +147,7 @@ snf_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
err = snf_ring_recv(ps->snf_ring, timeout, &req);
if (err) {
- if (err == EAGAIN) {
+ if (err == EBUSY || err == EAGAIN) {
return (n);
}
else if (err == EINTR) {