Commit 33291e2
authored
Enable
The `IP_BOUND_IF` socket option, which is wrapped by the
`Socket::bind_device_by_index_{v4,v6}` and
`Socket::device_index_{v4,v6}` is available on SunOS-like systems, such
as illumos and Solaris, as well as macOS-like systems. However, these
APIs are currently cfg-flagged to only be available on macOS-like
systems.
This commit changes the cfg attributes to also enable these APIs on
illumos and Solaris.
Fixes rust-lang#560
Backport of 5c1f3b0IP_BOUND_IF on illumos and Solaris (rust-lang#565)1 parent d35ef30 commit 33291e2
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments