diff options
| -rw-r--r-- | talpid-core/src/split_tunnel/linux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-core/src/split_tunnel/linux.rs b/talpid-core/src/split_tunnel/linux.rs index 57cfd419d7..6359e05669 100644 --- a/talpid-core/src/split_tunnel/linux.rs +++ b/talpid-core/src/split_tunnel/linux.rs @@ -87,7 +87,7 @@ impl PidManager { } /// Add PIDs to exclude from the tunnel. - pub fn add_list(&self, pids: &[i32]) -> Result<(), Error> { + pub fn add_list<T: Into<i32> + ToString>(&self, pids: &[T]) -> Result<(), Error> { let exclusions_path = Path::new(NETCLS_DIR) .join(SPLIT_TUNNEL_CGROUP_NAME) .join("cgroup.procs"); |
