Skip to content
Snippets Groups Projects
Commit d769d338 authored by Mohamed Chibani's avatar Mohamed Chibani
Browse files

ice: fix logging of ICE components

Change-Id: I610ae85bb3b779457a9ce64161e3b8b19ca820df
Gitlab: #516
parent 3ed5f067
Branches
No related tags found
No related merge requests found
...@@ -616,8 +616,8 @@ IceTransport::Impl::link() const ...@@ -616,8 +616,8 @@ IceTransport::Impl::link() const
std::ostringstream out; std::ostringstream out;
for (unsigned strm = 0; strm < streamsCount_; strm++) { for (unsigned strm = 0; strm < streamsCount_; strm++) {
for (unsigned i = 1; i <= compCountPerStream_; i++) { for (unsigned i = 1; i <= compCountPerStream_; i++) {
auto laddr = getLocalAddress(i); auto laddr = getLocalAddress(strm * streamsCount_ + i);
auto raddr = getRemoteAddress(i); auto raddr = getRemoteAddress(strm * streamsCount_ + i);
if (laddr and raddr) { if (laddr and raddr) {
out << " [" << i << "] " << laddr.toString(true, true) << " [" out << " [" << i << "] " << laddr.toString(true, true) << " ["
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment