diff --git a/daemon/ice.c b/daemon/ice.c index 84ec0ea50..791cec2be 100644 --- a/daemon/ice.c +++ b/daemon/ice.c @@ -727,6 +727,9 @@ static void __do_ice_check(struct ice_candidate_pair *pair) { if (!ag->pwd[0].s) return; + if (!sfd->socket.family) + return; + prio = ice_priority(ICT_PRFLX, pair->local_intf->unique_id, pair->remote_candidate->component_id);