Skip to content
Snippets Groups Projects
Commit 37cfbffd authored by Adrien Béraud's avatar Adrien Béraud
Browse files

dhtcnode: cleanup

parent efad2ada
No related branches found
No related tags found
No related merge requests found
......@@ -242,12 +242,10 @@ int main(int argc, char **argv)
}
free(addrs);
}
continue;
}
else if (!strcmp(cmd, "ll")) {
dht_infohash key = dht_runner_get_node_id(runner);
key = dht_runner_get_node_id(runner);
printf("DHT node %s running on port %u\n", dht_infohash_print(&key), dht_runner_get_bound_port(runner, AF_INET));
continue;
}
else if (!strcmp(cmd, "g")) {
key = parse_key(arg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment