Skip to content

Commit 83ffe88

Browse files
sirknightjzhuker
andauthored
wrong port/address on debug log (#1642)
Co-authored-by: Alex Zhukov <azhukov@roblox.com>
1 parent c789351 commit 83ffe88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/source/Ice/IceAgent.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1237,10 +1237,10 @@ STATUS iceCandidatePairCheckConnection(PStunPacket pStunBindingRequest, PIceAgen
12371237
if (pIceCandidatePair->local->ipAddress.family == KVS_IP_FAMILY_TYPE_IPV4) {
12381238
DLOGD("remote ip:%u.%u.%u.%u, port:%u, local ip:%u.%u.%u.%u, port:%u", pIceCandidatePair->remote->ipAddress.address[0],
12391239
pIceCandidatePair->remote->ipAddress.address[1], pIceCandidatePair->remote->ipAddress.address[2],
1240-
pIceCandidatePair->remote->ipAddress.address[3], pIceCandidatePair->remote->ipAddress.address[0],
1241-
pIceCandidatePair->remote->ipAddress.port, pIceCandidatePair->local->ipAddress.address[1],
1240+
pIceCandidatePair->remote->ipAddress.address[3], pIceCandidatePair->remote->ipAddress.port,
1241+
pIceCandidatePair->local->ipAddress.address[0], pIceCandidatePair->local->ipAddress.address[1],
12421242
pIceCandidatePair->local->ipAddress.address[2], pIceCandidatePair->local->ipAddress.address[3],
1243-
pIceCandidatePair->local->ipAddress.address[0], pIceCandidatePair->local->ipAddress.port);
1243+
pIceCandidatePair->local->ipAddress.port);
12441244
}
12451245

12461246
// update priority and transaction id

0 commit comments

Comments
 (0)