Skip to content

Commit

Permalink
fix erroneously reported 0.0.0.0 address when bridging from ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
rfuchs committed Feb 25, 2015
1 parent b83e80c commit 956d07d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daemon/call.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 956d07d

Please sign in to comment.