Skip to content

Commit 4a5b66a

Browse files
committedFeb 26, 2025
1 parent ece8cd3 commit 4a5b66a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/sys/unix.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ pub(crate) fn original_dst_ipv6(fd: Socket) -> io::Result<SockAddr> {
13911391
.map(|(_, addr)| addr)
13921392
}
13931393

1394-
// TODO(eliza): use libc's definition on solarish once it merges...
1394+
// TODO: remove this once https://github.com/rust-lang/libc/pull/4287 merges
13951395
#[cfg(all(feature = "all", any(target_os = "illumos", target_os = "solaris")))]
13961396
const IP_BOUND_IF: libc::c_int = 0x41;
13971397
#[cfg(all(
@@ -1406,6 +1406,7 @@ const IP_BOUND_IF: libc::c_int = 0x41;
14061406
))]
14071407
use libc::IP_BOUND_IF;
14081408

1409+
// TODO: remove this once https://github.com/rust-lang/libc/pull/4287 merges
14091410
#[cfg(all(feature = "all", any(target_os = "illumos", target_os = "solaris")))]
14101411
const IPV6_BOUND_IF: libc::c_int = 0x41;
14111412
#[cfg(all(

0 commit comments

Comments
 (0)
Please sign in to comment.