|
|
|
@ -960,8 +960,8 @@ void etcpmon_gui_update_socket_list(struct etcpmon_app* app, |
|
|
|
SendMessage(app->hListSockets, LB_RESETCONTENT, 0, 0); |
|
|
|
SendMessage(app->hListSockets, LB_RESETCONTENT, 0, 0); |
|
|
|
|
|
|
|
|
|
|
|
for (uint8_t i = 0; i < count; i++) { |
|
|
|
for (uint8_t i = 0; i < count; i++) { |
|
|
|
if (!list[i].ip || list[i].ip[0] == '\0') continue; |
|
|
|
if (list[i].ip[0] == '\0') continue; |
|
|
|
if (!list[i].name || list[i].name[0] == '\0') continue; |
|
|
|
if (list[i].name[0] == '\0') continue; |
|
|
|
|
|
|
|
|
|
|
|
char display[128]; |
|
|
|
char display[128]; |
|
|
|
const char* nat_str = nat_type_to_string(list[i].nat_type); |
|
|
|
const char* nat_str = nat_type_to_string(list[i].nat_type); |
|
|
|
|