diff options
author | George Hopkins <george-hopkins@null.net> | 2020-10-24 19:19:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 19:19:56 +0200 |
commit | 7f2619fdf93581a2822a3f63035e05f55d0df8be (patch) | |
tree | 5a07fe87b5fcb29e5c4a9c875d06b84855101768 /src/unix/linux_like/linux/mod.rs | |
parent | 2a212c84fb24aa17283af5bb87ff60f4fdc5affd (diff) | |
download | rust-libc-7f2619fdf93581a2822a3f63035e05f55d0df8be.tar.gz |
Apply suggestions from code review
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Diffstat (limited to 'src/unix/linux_like/linux/mod.rs')
-rw-r--r-- | src/unix/linux_like/linux/mod.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index 3494a13369..51a0e4b5ed 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -1267,10 +1267,12 @@ pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000; /// Multipath TCP pub const IPPROTO_MPTCP: ::c_int = 262; #[deprecated( - since = "0.2.79", - note = "IPPROTO_MAX depends on the kernel version on the target system" + since = "0.2.80", + note = "This value was increased in the newer kernel \ + and we'll change this following upstream in the future release. \ + See #1896 for more info." )] -pub const IPPROTO_MAX: ::c_int = 263; +pub const IPPROTO_MAX: ::c_int = 256; pub const AF_IB: ::c_int = 27; pub const AF_MPLS: ::c_int = 28; |