mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
voice_client: support binding asterisk to ipv6 interface
This commit is contained in:
parent
fd03db48c1
commit
ad5021eea4
1 changed files with 1 additions and 0 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue