From 51093690e30547a6fb9c9d0c1c95796741f770a4 Mon Sep 17 00:00:00 2001 From: Dan Podeanu Date: Tue, 10 Oct 2023 03:25:48 +0800 Subject: [PATCH] add debug message when entering main loop --- udp-redirect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/udp-redirect.c b/udp-redirect.c index 29422c8..88f4be7 100644 --- a/udp-redirect.c +++ b/udp-redirect.c @@ -595,6 +595,8 @@ int main(int argc, char *argv[]) { ERRNO_IGNORE_SET(errno_ignore, EADDRNOTAVAIL); } + DEBUG(DEBUG_LEVEL_VERBOSE, "entering infinite loop"); + while (1) { int poll_retval; int recvfrom_retval;