Normalize rlimit type on 32-bit targets in Conntrack Control #815

This commit is contained in:
Alexey
2026-05-30 18:13:23 +03:00
parent b720906fbc
commit 3d0d575b94

View File

@@ -705,7 +705,7 @@ fn nofile_soft_limit() -> Option<u64> {
if rc != 0 {
return None;
}
return Some(lim.rlim_cur);
return Some(lim.rlim_cur.into());
}
#[cfg(not(target_os = "linux"))]
{