Skip to content

Commit

Permalink
make bind address default to [::]
Browse files Browse the repository at this point in the history
  • Loading branch information
xlmnxp committed Sep 20, 2024
1 parent f976ef7 commit 06176c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub fn get_dns_server() -> String {
}

pub fn get_bind_address() -> String {
std::env::var("BIND_ADDRESS").unwrap_or_else(|_| "::".into())
std::env::var("BIND_ADDRESS").unwrap_or_else(|_| "[::]".into())
}

pub fn get_bridge46_ipv4() -> String {
Expand Down

0 comments on commit 06176c4

Please sign in to comment.