Adapt STUN diagnostics to endpoint profiles and helper sockets

This commit is contained in:
evgeny committed 2026-10-12 00:03:07 +02:00
1 parent 39dd038831
commit 5c83aac96e
2 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -656,7 +656,7 @@ static void restart_probe(struct stun_probe* p) {
static void scan_sources(struct STUN_NAT* mod) {
for (struct stun_probe* p = mod->probes; p; p = p->next) p->seen = 0;
for (struct ETCP_SOCKET* sock = mod->inst->etcp_sockets; sock; sock = sock->next) {
if (sock->is_tcp) continue;
if (sock->is_tcp || sock->probe_only) continue;
struct stun_source source;
if (source_snapshot(sock, &source) < 0) continue;
struct stun_probe** slot = &mod->probes;