summaryrefslogtreecommitdiff
path: root/other/bootstrap_serverdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'other/bootstrap_serverdaemon')
-rw-r--r--other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c
index 4f28fb3c..48152744 100644
--- a/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c
+++ b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c
@@ -245,7 +245,7 @@ struct server_conf_s configure_server(char *cfg_file)
245 it away in the server_info struct */ 245 it away in the server_info struct */
246 server_conf.info[i].valid = 1; 246 server_conf.info[i].valid = 1;
247 247
248 if(resolve_addr(strcpy(tmp_ip, bs_ip)) == -1) { 248 if(resolve_addr(strcpy(tmp_ip, bs_ip)) == 0) {
249 server_conf.info[i].valid = 0; 249 server_conf.info[i].valid = 0;
250 printf("bootstrap_server %d: Invalid IP\n", i); 250 printf("bootstrap_server %d: Invalid IP\n", i);
251 } 251 }