Skip to content

Commit e7efff4

Browse files
committed
Fix values for Solaris
1 parent 78c2d81 commit e7efff4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/unix/solarish/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,10 +1770,10 @@ pub const IP_ADD_MEMBERSHIP: ::c_int = 19;
17701770
pub const IP_DROP_MEMBERSHIP: ::c_int = 20;
17711771
pub const IPV6_JOIN_GROUP: ::c_int = 9;
17721772
pub const IPV6_LEAVE_GROUP: ::c_int = 10;
1773-
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70;
1774-
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71;
1775-
pub const IP_BLOCK_SOURCE: ::c_int = 72;
1776-
pub const IP_UNBLOCK_SOURCE: ::c_int = 73;
1773+
pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 23;
1774+
pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 24;
1775+
pub const IP_BLOCK_SOURCE: ::c_int = 21;
1776+
pub const IP_UNBLOCK_SOURCE: ::c_int = 22;
17771777

17781778
// These TCP socket options are common between illumos and Solaris, while higher
17791779
// numbers have generally diverged:

0 commit comments

Comments
 (0)