From d9ae16e56f1f0dd888e294be51714920b8574ff6 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 22 Feb 2026 17:03:52 +0300 Subject: [PATCH] nfqws2: nfq_handle_packet verbose error logging --- nfq2/nfqws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq2/nfqws.c b/nfq2/nfqws.c index c84adc0..1c9d605 100644 --- a/nfq2/nfqws.c +++ b/nfq2/nfqws.c @@ -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)