diff --git a/daemon/call.c b/daemon/call.c index f0be4a5f4..d0b8ab84f 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2865,7 +2865,8 @@ static int call_stream_address4(char *o, struct packet_stream *ps, enum stream_a l = 4; } - if (!in6_to_4(&ps->advertised_endpoint.ip46) && !is_trickle_ice_address(&ps->advertised_endpoint)) { + if (is_addr_unspecified(&ps->advertised_endpoint.ip46) + && !is_trickle_ice_address(&ps->advertised_endpoint)) { strcpy(o + l, "0.0.0.0"); l += 7; }