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
(cherry picked from commit f6461ab452)
mr10.0
Richard Fuchs 4 years ago
parent 6180d32115
commit 368a16c7c0

@ -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