By default EXTERNAL_DNS_NAME it is set to localhost to prevent the testcase from failing on systems with incorrect name resolution
&port))
return GNUNET_SYSERR;
-
if ( GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string (cfg,
"HOSTLIST",
- "HOSTNAME",
+ "EXTERNAL_DNS_NAME",
&hostname))
hostname = GNUNET_RESOLVER_local_fqdn_get ();
if ( GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string (adv_peer.cfg,
"HOSTLIST",
- "HOSTNAME",
+ "EXTERNAL_DNS_NAME",
&hostname))
hostname = GNUNET_RESOLVER_local_fqdn_get ();
[PATHS]
SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-2/
-DEFAULTCONFIG = test_learning_adv_peer.conf
[resolver]
PORT = 22964
WEAKRANDOM = YES
[hostlist]
-HOSTNAME = localhost
+EXTERNAL_DNS_NAME = localhost
HTTPPORT = 12981
SERVERS = http://localhost:12981/
OPTIONS = -p -a