Browse Source

debug: log etcpmon socket_list NAT values in send_socket_list

chatgui
Evgeny 3 months ago
parent
commit
c6d1ebeeaf
  1. 5
      src/control_server.c

5
src/control_server.c

@ -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;
}

Loading…
Cancel
Save