fixed the master server to it support alternative address

This commit is contained in:
Magnus Auvinen 2007-12-13 20:08:08 +00:00
parent bb48ddc34f
commit 24b023a445

View file

@ -140,10 +140,10 @@ void update_servers()
{
check_servers[i].try_count++;
check_servers[i].try_time = now;
if(check_servers[i].try_count > 5)
send_check(&check_servers[i].alt_address);
else
if(check_servers[i].try_count&1)
send_check(&check_servers[i].address);
else
send_check(&check_servers[i].alt_address);
}
}
}