From 8e1975b046dcf821eaf03098677dc5e34cd3a1a5 Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Sun, 5 Feb 2012 13:47:09 +0100 Subject: remove the --auto-proxy option from openvpn During discussion on FOSDEM 2012 it was decided that proxy auto detection is best done in the GUI as it's highly platform specific and shouldn't be handled in openvpn itself for every supported platform in openvpn itself. This removes --auto-proxy from openvpn. Signed-off-by: Heiko Hund Acked-by: David Sommerseth Message-Id: 1328446029-30523-1-git-send-email-heiko.hund@sophos.com URL: http://article.gmane.org/gmane.network.openvpn.devel/5333 Signed-off-by: David Sommerseth --- src/openvpn/socks.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/openvpn/socks.c') diff --git a/src/openvpn/socks.c b/src/openvpn/socks.c index 510c110..dd54c8d 100644 --- a/src/openvpn/socks.c +++ b/src/openvpn/socks.c @@ -63,23 +63,10 @@ struct socks_proxy_info * socks_proxy_new (const char *server, int port, const char *authfile, - bool retry, - struct auto_proxy_info *auto_proxy_info) + bool retry) { struct socks_proxy_info *p; - if (auto_proxy_info) - { - if (!server) - { - if (!auto_proxy_info->socks.server) - return NULL; - - server = auto_proxy_info->socks.server; - port = auto_proxy_info->socks.port; - } - } - ALLOC_OBJ_CLEAR (p, struct socks_proxy_info); ASSERT (server); -- cgit