Skip to content

Commit 7c548cc

Browse files
authored
IPv6: Change loopback address to unspecified address
1 parent c26d95f commit 7c548cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919
.build();
2020
} else if options.ipv6 {
2121
client = reqwest::blocking::Client::builder()
22-
.local_address("::1".parse::<IpAddr>().unwrap())
22+
.local_address("::".parse::<IpAddr>().unwrap())
2323
.build();
2424
} else {
2525
client = reqwest::blocking::Client::builder().build();

0 commit comments

Comments
 (0)