mirror of
https://github.com/telemt/telemt.git
synced 2026-06-09 20:41:44 +03:00
Normalize rlimit type on 32-bit targets in Conntrack Control #815
This commit is contained in:
@@ -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"))]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user