diff options
author | maxfranke <mfranke@inet.tu-berlin.de> | 2022-04-12 22:44:10 +0200 |
---|---|---|
committer | maxfranke <mfranke@inet.tu-berlin.de> | 2022-04-12 22:44:10 +0200 |
commit | e7efff4a0a6fb85c4f21bdf13b14e7fe17135544 (patch) | |
tree | 9fafa63346aa4d408997c45983be4341d83afc5d | |
parent | 78c2d8168ba2f5e40aa1db539f76d449e4eac0b4 (diff) | |
download | rust-libc-e7efff4a0a6fb85c4f21bdf13b14e7fe17135544.tar.gz |
Fix values for Solaris
-rw-r--r-- | src/unix/solarish/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index cec3f148df..3ccdb8cab9 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -1770,10 +1770,10 @@ pub const IP_ADD_MEMBERSHIP: ::c_int = 19; pub const IP_DROP_MEMBERSHIP: ::c_int = 20; pub const IPV6_JOIN_GROUP: ::c_int = 9; pub const IPV6_LEAVE_GROUP: ::c_int = 10; -pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 70; -pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 71; -pub const IP_BLOCK_SOURCE: ::c_int = 72; -pub const IP_UNBLOCK_SOURCE: ::c_int = 73; +pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 23; +pub const IP_DROP_SOURCE_MEMBERSHIP: ::c_int = 24; +pub const IP_BLOCK_SOURCE: ::c_int = 21; +pub const IP_UNBLOCK_SOURCE: ::c_int = 22; // These TCP socket options are common between illumos and Solaris, while higher // numbers have generally diverged: |