From 1d00f3e0d9c7450dcf84688c3ab260d5b1fb5389 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 26 Aug 2014 15:44:42 +0100 Subject: 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. (From OE-Core rev: 984455a95b4302d527ff54e019d8ed00611f3664) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/oe-git-proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/oe-git-proxy') diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 98191faadd..0ce7ed090e 100755 --- a/scripts/oe-git-proxy +++ b/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 -- cgit v1.2.3-54-g00ecf