Module: ngircd.git Branch: master Commit: 3c30490d54da941e368d54aeb63cf56cf1aef345 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=3c304...
Author: Alexander Barton alex@barton.de Date: Sat Dec 20 15:31:30 2014 +0100
Reset "last try" timer when enabling a passive server
This results in a new connection attempt as soon as possible.
---
src/ngircd/conf.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 5f8c392..221e7a9 100644 --- a/src/ngircd/conf.c +++ b/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; } }