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:
Alexander Barton 2014-12-20 15:31:30 +01:00
parent 6250335352
commit 3c30490d54
1 changed files with 1 additions and 0 deletions

View File

@ -618,6 +618,7 @@ Conf_EnablePassiveServer(const char *Name)
&& (Conf_Server[i].port > 0)) {
/* BINGO! Enable server */
Conf_Server[i].flags &= ~CONF_SFLAG_DISABLED;
Conf_Server[i].lasttry = 0;
return true;
}
}