浏览代码

debian,turn: fix getting an external ip in IPv6 enabled networks

master
lorddavidiii 4 年前
父节点
当前提交
6ddac3bddf
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      debian/jitsi-meet-turnserver.postinst

+ 1
- 1
debian/jitsi-meet-turnserver.postinst 查看文件

@@ -106,7 +106,7 @@ case "$1" in
106 106
         TURN_SECRET="$RET"
107 107
 
108 108
         # no turn config exists, lt's copy template and fill it in
109
-        PUBLIC_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) || true
109
+        PUBLIC_IP=$(dig -4 +short myip.opendns.com a @resolver1.opendns.com) || true
110 110
         if [ -z "$PUBLIC_IP" ] ; then
111 111
             PUBLIC_IP="127.0.0.1"
112 112
             echo "------------------------------------------------"

正在加载...
取消
保存