소스 검색

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

master
lorddavidiii 4 년 전
부모
커밋
6ddac3bddf
No account linked to committer's email address
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 "------------------------------------------------"

Loading…
취소
저장