tcptls: Do not re-bind to wildcard on client creation.
authorAlexander Traud <pabstraud@compuserve.com>
Sun, 8 Oct 2017 14:11:10 +0000 (16:11 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Sun, 8 Oct 2017 14:11:10 +0000 (16:11 +0200)
commitfeeb0974eb330cb92c9d6c0f54a388267a6f3bbc
treed6639f9fa4aaa98917fbe4da9ff0a4fa66d2ed43
parent79deaa6a96f6b5d7e061b95ef15b7e20790dc615
tcptls: Do not re-bind to wildcard on client creation.

Since ASTERISK-26922, this issue affected only those chan_sip which were
* enabled for dual-stack (bindaddr=::), and
* enabled for TCP (tcpenable=yes) and/or TLS (tlsenable=yes), and
* tried to register and/or invite a IPv4-only service,
* via TCP and/or TLS.
Now, ast_tcptls_client_create does not re-bind to [::] anymore.

ASTERISK-27324 #close

Change-Id: I4b242837bdeb1ec7130dc82505c6180a946fd9b5
main/tcptls.c