diff options
author | bors <bors@rust-lang.org> | 2022-09-11 00:53:40 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-09-11 00:53:40 +0000 |
commit | c20064f1fcba81b365ef3c06d39183687737ef34 (patch) | |
tree | 94d2d49ce69ba5000d9e88b1fc424c44bb4deb66 | |
parent | 6ab03598bce2308c77ecf03bb67ea71c395601a6 (diff) | |
parent | feb971adca4dffe201b08d73ed1b5f1c6e0883d0 (diff) | |
download | rust-libc-c20064f1fcba81b365ef3c06d39183687737ef34.tar.gz |
Auto merge of #2901 - gco:tcp_keepcnt, r=JohnTitor
Solaris TCP_KEEPINTVL and TCP_KEEPCNT have wrong values
-rw-r--r-- | src/unix/solarish/solaris.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/solarish/solaris.rs b/src/unix/solarish/solaris.rs index bab3095456..bc2618b3d0 100644 --- a/src/unix/solarish/solaris.rs +++ b/src/unix/solarish/solaris.rs @@ -33,8 +33,8 @@ pub const AF_LOCAL: ::c_int = 0; pub const AF_FILE: ::c_int = 0; pub const TCP_KEEPIDLE: ::c_int = 0x1d; -pub const TCP_KEEPCNT: ::c_int = 0x1e; -pub const TCP_KEEPINTVL: ::c_int = 0x1f; +pub const TCP_KEEPINTVL: ::c_int = 0x1e; +pub const TCP_KEEPCNT: ::c_int = 0x1f; pub const F_DUPFD_CLOEXEC: ::c_int = 47; pub const F_DUPFD_CLOFORK: ::c_int = 49; |