From 9ede09b461321e5154b859bfd6e7143800fb8928 Mon Sep 17 00:00:00 2001 From: xicilion Date: Thu, 4 Jul 2024 16:06:06 +0800 Subject: [PATCH] feat: Add support for reflecting STUN requests from unbound clients. --- src/conn_mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conn_mux.c b/src/conn_mux.c index 9db89df8..ea1da9aa 100644 --- a/src/conn_mux.c +++ b/src/conn_mux.c @@ -307,8 +307,8 @@ static juice_agent_t *lookup_agent(conn_registry_t *registry, char *buf, size_t juice_mux_incoming_t incoming_info; - incoming_info.remote_ufrag = username; - incoming_info.local_ufrag = separator + 1; + incoming_info.local_ufrag = local_ufrag; + incoming_info.remote_ufrag = separator + 1; incoming_info.address = host; incoming_info.port = addr_get_port((struct sockaddr *)src);