From 956d07d42e106231aa4cae13d706b30e7833ae89 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 25 Feb 2015 08:29:08 -0500 Subject: [PATCH] fix erroneously reported 0.0.0.0 address when bridging from ipv6 --- daemon/call.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }