Skip to content

Commit ba0afe1

Browse files
committed
Change _ipv6 suffix to _v6
To match the other methods.
1 parent c67f051 commit ba0afe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,8 +2095,8 @@ impl Socket {
20952095
feature = "all",
20962096
any(target_os = "android", target_os = "linux", target_os = "windows")
20972097
))]
2098-
pub fn original_dst_ipv6(&self) -> io::Result<SockAddr> {
2099-
sys::original_dst_ipv6(self.as_raw())
2098+
pub fn original_dst_v6(&self) -> io::Result<SockAddr> {
2099+
sys::original_dst_v6(self.as_raw())
21002100
}
21012101
}
21022102

0 commit comments

Comments
 (0)