From 3680f2d3b170188eb5bd7f4267afe2196c9c0c68 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Mon, 8 Feb 2016 14:39:29 +0300 Subject: [PATCH] Do not negotiate handshake for extip redirection --- src/auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/auth.c b/src/auth.c index 97f2673..d42d5c5 100644 --- a/src/auth.c +++ b/src/auth.c @@ -243,6 +243,8 @@ int handleredirect(struct clientparam * param, struct ace * acentry){ if(!connected){ if(cur->type == R_EXTIP){ param->sinsl = cur->addr; + if(cur->next)continue; + return 0; } else if(SAISNULL(&cur->addr) && !*SAPORT(&cur->addr)){ if(cur->extuser){