From 05223744dbe86cbf0c9e72d2072019cffa71e7be Mon Sep 17 00:00:00 2001 From: Fabian Peter Hammerle Date: Tue, 23 Dec 2025 01:22:17 +0100 Subject: [PATCH] Do not exit when sendto fails with "Operation not permitted" --- src/reflector.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reflector.c b/src/reflector.c index 4ca6565..57b2131 100644 --- a/src/reflector.c +++ b/src/reflector.c @@ -469,9 +469,11 @@ int run_event_loop(struct options *options) { if (errno == EWOULDBLOCK) continue; // send queue overwhelmed; skipping log_err(LOG_ERR, "sendto"); - goto end; + if (errno != EPERM) + goto end; + } else { + log_msg(LOG_DEBUG, "sent"); } - log_msg(LOG_DEBUG, "sent"); } } }