diff options
author | Guido Falsi <mad@madpilot.net> | 2016-11-22 18:20:06 +0100 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-11-30 20:04:31 +0000 |
commit | 2ceb609edb64e930300806e75dc1a45386f800ef (patch) | |
tree | c20f182eea15343d3e1e912b25cacfe142d22363 /include/solaris-compat | |
parent | eec82c6221935ebcc88da8c606481258d3322ad5 (diff) |
res_rtp: Fix regression when IPv6 is not available.
The latest Release candidate fails to create RTP streams when IPv6
is not available. Due to the changes made in September the ast_sockaddr
structure passed around to create these streams is always of AF_INET6
type, causing failure when used for IPv4. This patch adds a utility
function to check for availability of IPv6 and applies such check
at startup to determine how to create the ast_sockaddr structures.
ASTERISK-26617 #close
Change-Id: I627a4e91795e821111e1cda523f083a40d0e0c3e
Diffstat (limited to 'include/solaris-compat')
0 files changed, 0 insertions, 0 deletions