瀏覽代碼

Do not negotiate handshake for extip redirection

z3APA3A 10 年之前
父節點
當前提交
3680f2d3b1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/auth.c

+ 2 - 0
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){