aboutsummaryrefslogtreecommitdiffstats
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 38515669..082e3586 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -47,6 +47,8 @@ int url_set(url_t *url, const char *set_url)
url->proto = PROTO_SOCKS4;
} else if (g_strncasecmp(set_url, "socks5", i - set_url) == 0) {
url->proto = PROTO_SOCKS5;
+ } else if (g_strncasecmp(set_url, "socks4a", i - set_url) == 0) {
+ url->proto = PROTO_SOCKS4A;
} else {
return 0;
}