Commit 51e9773
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 51e9773
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
1834 | 1836 | | |
1835 | 1837 | | |
1836 | 1838 | | |
| 1839 | + | |
| 1840 | + | |
1837 | 1841 | | |
1838 | 1842 | | |
1839 | 1843 | | |
| |||
1859 | 1863 | | |
1860 | 1864 | | |
1861 | 1865 | | |
| 1866 | + | |
| 1867 | + | |
1862 | 1868 | | |
1863 | 1869 | | |
1864 | 1870 | | |
| |||
1879 | 1885 | | |
1880 | 1886 | | |
1881 | 1887 | | |
| 1888 | + | |
| 1889 | + | |
1882 | 1890 | | |
1883 | 1891 | | |
1884 | 1892 | | |
| |||
1900 | 1908 | | |
1901 | 1909 | | |
1902 | 1910 | | |
| 1911 | + | |
| 1912 | + | |
1903 | 1913 | | |
1904 | 1914 | | |
1905 | 1915 | | |
| |||
0 commit comments