Resolve endpoint addresses
This commit is contained in:
parent
79e88ae9ee
commit
707d55557e
2 changed files with 17 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ fn write_config(
|
|||
|
||||
writeln!(output, "[Peer]")?;
|
||||
writeln!(output, "PublicKey = {}", &location.pubkey)?;
|
||||
writeln!(output, "Endpoint = {}:51820", &location.pool)?;
|
||||
writeln!(output, "Endpoint = {}", &location.get_endpoint()?)?;
|
||||
|
||||
let allowed_ips: &[&str] = if config_opts.no_ipv6 {
|
||||
&["0.0.0.0/0"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue