[BACK]Return to patch-src_gapcmon_gapcmon_h CVS log [TXT][DIR] Up to [local] / ports / sysutils / apcupsd / patches

File: [local] / ports / sysutils / apcupsd / patches / Attic / patch-src_gapcmon_gapcmon_h (download)

Revision 1.1, Sun Jan 25 09:46:47 2009 UTC (15 years, 5 months ago) by yason
Branch: MAIN

temporary solution to reduce errors with name resolution

$OpenBSD$
--- src/gapcmon/gapcmon.h.orig	Sun Jan 25 12:28:10 2009
+++ src/gapcmon/gapcmon.h	Sun Jan 25 12:28:33 2009
@@ -69,7 +69,7 @@ G_BEGIN_DECLS
 
 #define GAPC_REFRESH_FACTOR_1K 1000     /* micro.secs for visual refresh    */
 #define GAPC_REFRESH_FACTOR_ONE_TIME 500
-#define GAPC_HOST_DEFAULT "localhost"
+#define GAPC_HOST_DEFAULT "127.0.0.1"
 #define GAPC_PORT_DEFAULT 3551
 #define GAPC_WATT_DEFAULT 600
 #define GAPC_REFRESH_DEFAULT 8.0