Commit 518ddf69 authored by Peter V. Saveliev's avatar Peter V. Saveliev

netns: fix libc parameter

Bug-Url: https://github.com/svinota/pyroute2/issues/702
parent 628381f4
......@@ -149,7 +149,7 @@ class NetNS(RTNL_API, RemoteSocket):
trnsp_in.file_obj.close()
trnsp_out.file_obj.close()
try:
setns(self.netns, self.flags, libc=None)
setns(self.netns, self.flags, libc=libc)
except OSError as e:
(self
.remote_trnsp_out
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment