Fix formatting
This commit is contained in:
parent
440e6966fb
commit
63a01e2a01
1 changed files with 5 additions and 1 deletions
|
|
@ -191,7 +191,11 @@ fn write_config(
|
|||
let endpoint_addrs = config.data.endpoint.to_socket_addrs()?;
|
||||
write_list(output, "Endpoint = ", endpoint_addrs)?;
|
||||
|
||||
let allowed_ips: &[&str] = if config_opts.no_ipv6 { &["0.0.0.0", "::0"] } else { &["0.0.0.0"] };
|
||||
let allowed_ips: &[&str] = if config_opts.no_ipv6 {
|
||||
&["0.0.0.0", "::0"]
|
||||
} else {
|
||||
&["0.0.0.0"]
|
||||
};
|
||||
write_list(output, "AllowedIPs = ", allowed_ips)?;
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue