From 3c30490d54da941e368d54aeb63cf56cf1aef345 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 20 Dec 2014 15:31:30 +0100 Subject: [PATCH] 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 5f8c3929..221e7a96 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; } } -- 2.39.2