debug: log etcpmon socket_list NAT values in send_socket_list

This commit is contained in:
Evgeny committed 2026-07-02 20:40:08 +03:00
1 parent eea0ed0a48
commit c6d1ebeeaf
1 file changed
+4 -1
+4 -1
View File
@@ -1000,7 +1000,10 @@ static void send_socket_list(struct control_server* server, struct control_clien
inet_ntop(AF_INET6, &sin6->sin6_addr, info[i].nat_ip, sizeof(info[i].nat_ip));
info[i].nat_port = ntohs(sin6->sin6_port);
}
DEBUG_INFO(DEBUG_CATEGORY_NAT, "socket_list to gui: sock=%s config=%d nat_type=%d nat_ip=%s nat_port=%u",
sock->name, sock->type, sock->nat_type,
info[i].nat_ip[0] ? info[i].nat_ip : "none", info[i].nat_port);
sock = sock->next;
}