Fix IPv6 wildcard address in AllowedIPs

This commit is contained in:
Andrey Golovizin 2021-07-14 17:44:22 +02:00
parent 8d71621102
commit e00de8acce

View file

@ -194,7 +194,7 @@ fn write_config(
let allowed_ips: &[&str] = if config_opts.no_ipv6 {
&["0.0.0.0"]
} else {
&["0.0.0.0", "::0"]
&["0.0.0.0", "::/0"]
};
write_list(output, "AllowedIPs = ", allowed_ips)?;