From: havoc Date: Wed, 27 Oct 2004 18:29:51 +0000 (+0000) Subject: changed net_masterextra1 and 2 back to IP addresses (but kept their DNS names as... X-Git-Tag: xonotic-v0.1.0preview~5409 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a91eaec85e710254b023ead7d631148b095d25d;p=xonotic%2Fdarkplaces.git changed net_masterextra1 and 2 back to IP addresses (but kept their DNS names as comments), the DNS resolving takes too long, and caching it is non-trivial git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4720 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index 2c7f0cae..9ab6cd5e 100755 --- a/netconn.c +++ b/netconn.c @@ -28,14 +28,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. cvar_t sv_public = {0, "sv_public", "0"}; static cvar_t sv_heartbeatperiod = {CVAR_SAVE, "sv_heartbeatperiod", "180"}; +// FIXME: resolve DNS on masters whenever their value changes and cache it (to avoid major delays in active servers when they heartbeat) static cvar_t sv_masters [] = { {CVAR_SAVE, "sv_master1", ""}, {CVAR_SAVE, "sv_master2", ""}, {CVAR_SAVE, "sv_master3", ""}, {CVAR_SAVE, "sv_master4", ""}, - {0, "sv_masterextra1", "ghdigital.com"}, - {0, "sv_masterextra2", "dpmaster.deathmask.net"}, + {0, "sv_masterextra1", "69.59.212.88"}, // ghdigital.com + {0, "sv_masterextra2", "66.169.205.13"}, // dpmaster.deathmask.net {0, NULL, NULL} };