summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/Ivy.cxx')
-rw-r--r--Ivy/Ivy.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx
index fe05e7d..95035d1 100644
--- a/Ivy/Ivy.cxx
+++ b/Ivy/Ivy.cxx
@@ -12,7 +12,7 @@
#include "IvyBinding.h"
#include "intervalRegexp.h"
-#define DEFAULT_ADDR "127.255.255.255"
+#define DEFAULT_ADDR "127.0.0.1"
#define SEPARATOR ":"
#define DEFAULT_PORT "2010"
#define DEFAULT_DOMAIN DEFAULT_ADDR/**/SEPARATOR/**/DEFAULT_PORT
@@ -120,8 +120,10 @@ const char * Ivy::GetDomain(const char *domainlist)
size_t sep_index = domain.rfind( ':' );
if ( sep_index == -1 )
{
- domain = DEFAULT_DOMAIN;
- TRACE(" Missing ':' in domain list using default domain %s\n", domain );
+ //domain = DEFAULT_DOMAIN;
+ domain.append( SEPARATOR );
+ domain.append( DEFAULT_PORT );
+ TRACE(" Missing ':' in domain list using default port %s\n", domain );
}
if ( sep_index == 0 )
{