Skip to content

Commit 7f2619f

Browse files
Apply suggestions from code review
Co-authored-by: Yuki Okushi <[email protected]>
1 parent 2a212c8 commit 7f2619f

File tree

1 file changed

+5
-3
lines changed
  • src/unix/linux_like/linux

1 file changed

+5
-3
lines changed

src/unix/linux_like/linux/mod.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1267,10 +1267,12 @@ pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000;
12671267
/// Multipath TCP
12681268
pub const IPPROTO_MPTCP: ::c_int = 262;
12691269
#[deprecated(
1270-
since = "0.2.79",
1271-
note = "IPPROTO_MAX depends on the kernel version on the target system"
1270+
since = "0.2.80",
1271+
note = "This value was increased in the newer kernel \
1272+
and we'll change this following upstream in the future release. \
1273+
See #1896 for more info."
12721274
)]
1273-
pub const IPPROTO_MAX: ::c_int = 263;
1275+
pub const IPPROTO_MAX: ::c_int = 256;
12741276

12751277
pub const AF_IB: ::c_int = 27;
12761278
pub const AF_MPLS: ::c_int = 28;

0 commit comments

Comments
 (0)