TT#14008 use FILLED flag instead of advertised address for sink test

The advertised address might be empty (trickle ICE) so use the FILLED
flag instead to see if the sink is eligible.

Change-Id: I114bd7400ccfcc3ecbc871bdcc5aee4e7d699816
pull/1373/head
Richard Fuchs 5 years ago
parent 6443cfcb8e
commit f6461ab452

@ -1254,8 +1254,7 @@ output:
// output section
if (non_forwarding) // also applies to sink == NULL
return NULL; // no output
if (is_addr_unspecified(&sink->advertised_endpoint.address)
|| !sink->advertised_endpoint.port)
if (!PS_ISSET(sink, FILLED))
return NULL;
redi = g_slice_alloc0(sizeof(*redi));

Loading…
Cancel
Save