voice_client: support binding asterisk to ipv6 interface

This commit is contained in:
Sukru Senli 2017-04-28 11:26:17 +02:00
parent fd03db48c1
commit ad5021eea4

View file

@ -336,6 +336,7 @@ get_bindaddr() {
local bindaddr=""
[ -n "$intf" ] && network_get_ipaddr bindaddr "$intf"
[ -z "$bindaddr" ] && network_get_ipaddr6 bindaddr "$intf"
echo "${bindaddr:-0.0.0.0}"
}