socket: ping the stun server address on the right socket
authorFabrice Bellet <fabrice@bellet.info>
Mon, 27 Nov 2017 22:56:17 +0000 (23:56 +0100)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 23 Mar 2018 17:56:18 +0000 (13:56 -0400)
commit00dfcc6a625e6c6ed758a4b3b4d0858113508a2f
tree51feba6ed532983c404ce0a498684826735c4e29
parent05f1e30239a448385709df0edd43ec3ac5173218
socket: ping the stun server address on the right socket

Verify the compatibility of the socket domain with the stun server
IP address, before sending a request.

Reviewed-by: Olivier Crête <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1894
agent/agent.c
agent/conncheck.c