Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-13 22:03:09 +00:00

nfqws2: nfq_handle_packet verbose error logging

This commit is contained in:
bol-van
2026-02-22 17:03:52 +03:00
parent 46d4208c76
commit d9ae16e56f

View File

@@ -483,7 +483,7 @@ static int nfq_main(void)
DLOG_ERR("cannot get wlan info\n");
#endif
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 (errno==EINTR)