From c93b84529e9eb1475b4dbb4492fb012e37a14784 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 14 Apr 2026 21:55:47 +0300 Subject: [PATCH] 1 --- tools/etcpmon/etcpmon_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/etcpmon/etcpmon_gui.c b/tools/etcpmon/etcpmon_gui.c index 86be6a4c..b445f227 100644 --- a/tools/etcpmon/etcpmon_gui.c +++ b/tools/etcpmon/etcpmon_gui.c @@ -960,8 +960,8 @@ void etcpmon_gui_update_socket_list(struct etcpmon_app* app, SendMessage(app->hListSockets, LB_RESETCONTENT, 0, 0); for (uint8_t i = 0; i < count; i++) { - if (!list[i].ip || list[i].ip[0] == '\0') continue; - if (!list[i].name || list[i].name[0] == '\0') continue; + if (list[i].ip[0] == '\0') continue; + if (list[i].name[0] == '\0') continue; char display[128]; const char* nat_str = nat_type_to_string(list[i].nat_type);