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; }