mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
add network id to distinguish different networks
This commit is contained in:
1 parent
426c6b6e6d
commit
6cd7fdb830
11 files changed
+92
-26
No files matched your search
+1
-1
@@ -256,7 +256,7 @@ main(int argc, char **argv)
|
||||
crt = dht::crypto::generateIdentity("DHT Node", ca_tmp);
|
||||
}
|
||||
|
||||
dht.run(params.port, crt, true, params.is_bootstrap_node);
|
||||
dht.run(params.port, crt, true, params.network);
|
||||
|
||||
if (params.log) {
|
||||
if (not params.logfile.empty())
|
||||
|
||||
Reference in new issue
Block a user