Skip to content

Commit 2e82b30

Browse files
Merge branch 'v1.5'
2 parents d3d6949 + 446e2ad commit 2e82b30

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/agent.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,11 +1261,9 @@ int agent_dispatch_stun(juice_agent_t *agent, void *buf, size_t size, stun_messa
12611261
JLOG_WARN("STUN message verification failed");
12621262
return -1;
12631263
}
1264-
if (!relayed) {
1265-
if (agent_add_remote_reflexive_candidate(agent, ICE_CANDIDATE_TYPE_PEER_REFLEXIVE,
1266-
msg->priority, src)) {
1267-
JLOG_WARN("Failed to add remote peer reflexive candidate from STUN message");
1268-
}
1264+
if (agent_add_remote_reflexive_candidate(agent, ICE_CANDIDATE_TYPE_PEER_REFLEXIVE,
1265+
msg->priority, src)) {
1266+
JLOG_WARN("Failed to add remote peer reflexive candidate from STUN message");
12691267
}
12701268
}
12711269

0 commit comments

Comments
 (0)