From be5aa53106031dd45ad5fe93d1cbdb4c36de1e91 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Sun, 15 Apr 2018 00:28:59 +0300 Subject: [PATCH] Allow transparent client proxy with 'parent 1000 extip 0.0.0.0' --- src/auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth.c b/src/auth.c index 7a46da5..7e8a12e 100644 --- a/src/auth.c +++ b/src/auth.c @@ -252,6 +252,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){ if(!connected){ if(cur->type == R_EXTIP){ param->sinsl = cur->addr; + if(SAISNULL(¶m->sinsl))param->sinsl = param->sincr; if(cur->next)continue; return 0; }