Commit 5c1f3b0
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 #560IP_BOUND_IF on illumos and Solaris (#561)1 parent 34aba73 commit 5c1f3b0
3 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
| 993 | + | |
| 994 | + | |
993 | 995 | | |
994 | 996 | | |
995 | 997 | | |
| |||
1036 | 1038 | | |
1037 | 1039 | | |
1038 | 1040 | | |
| 1041 | + | |
| 1042 | + | |
1039 | 1043 | | |
1040 | 1044 | | |
1041 | 1045 | | |
| |||
0 commit comments