mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
tools: allow IPv6 bootstrap cmd argument
This commit is contained in:
1 parent
fcbaa28439
commit
c4dfd40199
4 files changed
+30
-20
No files matched your search
+3
-3
@@ -83,9 +83,9 @@ main(int argc, char **argv)
|
||||
if (params.log)
|
||||
enableLogging(dht);
|
||||
|
||||
if (not params.bootstrap.empty()) {
|
||||
std::cout << "Bootstrap: " << params.bootstrap[0] << ":" << params.bootstrap[1] << std::endl;
|
||||
dht.bootstrap(params.bootstrap[0].c_str(), params.bootstrap[1].c_str());
|
||||
if (not params.bootstrap.first.empty()) {
|
||||
std::cout << "Bootstrap: " << params.bootstrap.first << ":" << params.bootstrap.second << std::endl;
|
||||
dht.bootstrap(params.bootstrap.first.c_str(), params.bootstrap.second.c_str());
|
||||
}
|
||||
|
||||
print_node_info(dht, params);
|
||||
|
||||
Reference in new issue
Block a user