Reset "last try" timer when enabling a passive server
This results in a new connection attempt as soon as possible.
This commit is contained in:
parent
6250335352
commit
3c30490d54
|
@ -618,6 +618,7 @@ Conf_EnablePassiveServer(const char *Name)
|
||||||
&& (Conf_Server[i].port > 0)) {
|
&& (Conf_Server[i].port > 0)) {
|
||||||
/* BINGO! Enable server */
|
/* BINGO! Enable server */
|
||||||
Conf_Server[i].flags &= ~CONF_SFLAG_DISABLED;
|
Conf_Server[i].flags &= ~CONF_SFLAG_DISABLED;
|
||||||
|
Conf_Server[i].lasttry = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue