mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
nfqws2: nfq_handle_packet verbose error logging
This commit is contained in:
@@ -483,7 +483,7 @@ static int nfq_main(void)
|
|||||||
DLOG_ERR("cannot get wlan info\n");
|
DLOG_ERR("cannot get wlan info\n");
|
||||||
#endif
|
#endif
|
||||||
int r = nfq_handle_packet(h, (char *)buf, (int)rd);
|
int r = nfq_handle_packet(h, (char *)buf, (int)rd);
|
||||||
if (r) DLOG_ERR("nfq_handle_packet error %d\n", r);
|
if (r<0) DLOG_ERR("nfq_handle_packet result %d, errno %d : %s\n", r, errno, strerror(errno));
|
||||||
if (bQuit) goto quit;
|
if (bQuit) goto quit;
|
||||||
}
|
}
|
||||||
if (errno==EINTR)
|
if (errno==EINTR)
|
||||||
|
|||||||
Reference in New Issue
Block a user