Commit 2928673
committed
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 #560IP_BOUND_IF on illumos and Solaris1 parent 34aba73 commit 2928673
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| 1837 | + | |
| 1838 | + | |
1837 | 1839 | | |
1838 | 1840 | | |
1839 | 1841 | | |
| |||
1859 | 1861 | | |
1860 | 1862 | | |
1861 | 1863 | | |
| 1864 | + | |
| 1865 | + | |
1862 | 1866 | | |
1863 | 1867 | | |
1864 | 1868 | | |
| |||
1879 | 1883 | | |
1880 | 1884 | | |
1881 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
1882 | 1888 | | |
1883 | 1889 | | |
1884 | 1890 | | |
| |||
1900 | 1906 | | |
1901 | 1907 | | |
1902 | 1908 | | |
| 1909 | + | |
| 1910 | + | |
1903 | 1911 | | |
1904 | 1912 | | |
1905 | 1913 | | |
| |||
0 commit comments