eliminate network keying from bootstrap name
This commit is contained in:
parent
e504da2564
commit
1315766fa9
@ -211,20 +211,7 @@ impl NetworkManager {
|
|||||||
// Make the network key
|
// Make the network key
|
||||||
let network_key = {
|
let network_key = {
|
||||||
let c = config.get();
|
let c = config.get();
|
||||||
let network_key_password = if let Some(nkp) = c.network.network_key_password.clone() {
|
let network_key_password = c.network.network_key_password.clone();
|
||||||
Some(nkp)
|
|
||||||
} else {
|
|
||||||
if c.network
|
|
||||||
.routing_table
|
|
||||||
.bootstrap
|
|
||||||
.contains(&"bootstrap.veilid.net".to_owned())
|
|
||||||
{
|
|
||||||
None
|
|
||||||
} else {
|
|
||||||
Some(c.network.routing_table.bootstrap.join(","))
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
let network_key = if let Some(network_key_password) = network_key_password {
|
let network_key = if let Some(network_key_password) = network_key_password {
|
||||||
if !network_key_password.is_empty() {
|
if !network_key_password.is_empty() {
|
||||||
info!("Using network key");
|
info!("Using network key");
|
||||||
|
Loading…
Reference in New Issue
Block a user