stoopid
This commit is contained in:
parent
298a01d710
commit
ca486f05ca
1 changed files with 2 additions and 1 deletions
|
@ -379,7 +379,8 @@ impl State {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
endpoints.sort();
|
endpoints.sort();
|
||||||
if let Some(endpoint) = endpoints.get(i % endpoints.len()) {
|
if !endpoints.is_empty() {
|
||||||
|
let endpoint = endpoints[i % endpoints.len()];
|
||||||
info!("Configure {} with endpoint {}", peer.pubkey, endpoint.0);
|
info!("Configure {} with endpoint {}", peer.pubkey, endpoint.0);
|
||||||
Command::new("wg")
|
Command::new("wg")
|
||||||
.args([
|
.args([
|
||||||
|
|
Loading…
Reference in a new issue