Sameer Vijaykar a75eb43e99 Lookup STUN hostname using the network's IP family.
The current behaviour is to lookup using AF_UNSPEC, which leaves
the decision up to the getaddrinfo implementation, then filter to
resolved addresses matching the network family anyway.

Looking up using the network's family upfront avoids resolving to
an unusable address.

Bug: webrtc:14319, webrtc:14131
Change-Id: I4997452dc26aeb82e5d2890701721e7d477803a8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270625
Commit-Queue: Sameer Vijaykar <samvi@google.com>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37753}
2022-08-11 15:34:32 +00:00
..
2022-06-30 13:19:18 +00:00
2022-06-30 09:39:28 +00:00
2022-08-02 13:52:36 +00:00
2022-06-30 13:19:18 +00:00
2022-06-30 13:19:18 +00:00
2022-06-30 13:19:18 +00:00
2022-06-01 17:43:55 +00:00
2022-06-30 13:19:18 +00:00