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:03:11 +0000 |
commit | 798179995ba2ba1fdb6aa175d8603c6c02fb9a34 (patch) | |
tree | eff5be926cdd35bdab03192a77c739deb595c9fb /funcs | |
parent | 12517ad1f37daf0ff9ec55b92eb3cdf6843fdc64 (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 'funcs')
0 files changed, 0 insertions, 0 deletions