diff --git a/daemon/ice.c b/daemon/ice.c index 5f81efa81..3916f67b3 100644 --- a/daemon/ice.c +++ b/daemon/ice.c @@ -1031,11 +1031,14 @@ static int __check_valid(struct ice_agent *ag) { mutex_lock(&ps->out_lock); if (memcmp(&ps->endpoint, &pair->remote_candidate->endpoint, sizeof(ps->endpoint))) { - ilogs(ice, LOG_INFO, "ICE negotiated: peer for component %u is %s%s%s", ps->component, + ilogs(ice, LOG_INFO, "ICE negotiated: new peer for component %u is %s%s%s", ps->component, FMT_M(endpoint_print_buf(&pair->remote_candidate->endpoint))); ps->endpoint = pair->remote_candidate->endpoint; PS_SET(ps, FILLED); } + else + ilogs(ice, LOG_INFO, "ICE negotiated: peer for component %u is %s%s%s", ps->component, + FMT_M(endpoint_print_buf(&pair->remote_candidate->endpoint))); mutex_unlock(&ps->out_lock); for (m = ps->sfds.head; m; m = m->next) {