Browse Source

fix erroneously reported 0.0.0.0 address when bridging from ipv6

pull/81/head
Richard Fuchs 11 years ago
parent
commit
956d07d42e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      daemon/call.c

+ 2
- 1
daemon/call.c View File

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


Loading…
Cancel
Save