Browse Source

oe-git-proxy: use SOCKS4a instead of SOCKS4

In some situations where a proxy is required the client can't even do DNS
lookups, so instead of using SOCKS4 use SOCKS4a which moves the name resolution
from the client to the proxy.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton 9 years ago
parent
commit
984455a95b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/oe-git-proxy

+ 1 - 1
scripts/oe-git-proxy

@@ -121,7 +121,7 @@ if [ "$PROTO" = "socks" ]; then
 	if [ -z "$PORT" ]; then
 		PORT="1080"
 	fi
-	METHOD="SOCKS4:$PROXY:$1:$2,socksport=$PORT"
+	METHOD="SOCKS4A:$PROXY:$1:$2,socksport=$PORT"
 else
 	# Assume PROXY (http, https, etc)
 	if [ -z "$PORT" ]; then