summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-08-26 15:44:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 10:39:12 +0100
commit984455a95b4302d527ff54e019d8ed00611f3664 (patch)
tree47c1047e23752d994ca590d5b06ef948eae987bc
parent1fc544811582ed68b6e0a61fd22c169e1825b725 (diff)
downloadopenembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.tar.gz
openembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.tar.bz2
openembedded-core-984455a95b4302d527ff54e019d8ed00611f3664.zip
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>
-rwxr-xr-xscripts/oe-git-proxy2
1 files changed, 1 insertions, 1 deletions
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