Skip to content

Commit 1fb20f7

Browse files
committed
feat: Add support for reflecting STUN requests from unbound clients.
1 parent 4a0a896 commit 1fb20f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conn_mux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static juice_agent_t *lookup_agent(conn_registry_t *registry, char *buf, size_t
297297
}
298298
}
299299

300-
if (registry->cb_mux_incoming && msg.use_candidate == 0) {
300+
if (registry->cb_mux_incoming) {
301301
JLOG_DEBUG("Found STUN request with unknown ICE ufrag");
302302
char host[ADDR_MAX_NUMERICHOST_LEN];
303303
if (getnameinfo((const struct sockaddr *)&src->addr, src->len, host, ADDR_MAX_NUMERICHOST_LEN, NULL, 0, NI_NUMERICHOST)) {

0 commit comments

Comments
 (0)