From 1c005bcfe63756223ed44e736f42e97248354980 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 12 Aug 2015 10:37:11 +0000 Subject: [PATCH] translate_socks5_error(): Improve SOCKS5_REQUEST_HOST_UNREACHABLE translation ... to make it more obvious that it's the destination host that is unreachable and not the host running the socks server. --- gateway.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway.c b/gateway.c index 60f2aa20..e42fec79 100644 --- a/gateway.c +++ b/gateway.c @@ -1,4 +1,4 @@ -const char gateway_rcs[] = "$Id: gateway.c,v 1.93 2012/12/07 12:45:20 fabiankeil Exp $"; +const char gateway_rcs[] = "$Id: gateway.c,v 1.94 2015/06/18 15:26:40 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/gateway.c,v $ @@ -894,7 +894,7 @@ static const char *translate_socks5_error(int socks_error) case SOCKS5_REQUEST_NETWORK_UNREACHABLE: return "SOCKS5 network unreachable"; case SOCKS5_REQUEST_HOST_UNREACHABLE: - return "SOCKS5 host unreachable"; + return "SOCKS5 destination host unreachable"; case SOCKS5_REQUEST_CONNECTION_REFUSED: return "SOCKS5 connection refused"; case SOCKS5_REQUEST_TTL_EXPIRED: -- 2.39.2