Commit Diff
Diff:
62503353525fd893156731521edc95b2bd6a1f6f
3c30490d54da941e368d54aeb63cf56cf1aef345
Commit:
3c30490d54da941e368d54aeb63cf56cf1aef345
Tree:
b255b2d0031240ad2f5873f960eecf0b838ce5f9
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Sat Dec 20 14:31:55 2014 UTC
Message:
Reset "last try" timer when enabling a passive server This results in a new connection attempt as soon as possible.
blob - 5f8c392976d2c377e4d35e6799ec81936916c4b4
blob + 221e7a96e8621c37b6f2db3d26d4c0accdf9075a
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
@@ -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;
}
}
IRCNow