Do not cache external port

This commit is contained in:
z3APA3A committed 2020-06-17 16:14:34 +03:00
1 parent 936724f4f7
commit c532958b9f
1 file changed
+2
+2
View File
@@ -804,6 +804,7 @@ int doauth(struct clientparam * param){
ac->sa = param->sincr;
if(conf.authcachetype&32) {
ac->sinsl = param-> sinsl;
SAPORT(ac->sinsl) = 0;
}
break;
@@ -819,6 +820,7 @@ int doauth(struct clientparam * param){
if((conf.authcachetype&4) && param->password) ac->password = mystrdup((char *)param->password);
if(conf.authcachetype&32) {
ac->sinsl = param->sinsl;
SAPORT(ac->sinsl) = 0;
}
}
ac->next = authc;