mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 14:43:24 +00:00
New option netns for network namespace setting
This commit is contained in:
parent
c82e3df210
commit
f152c55584
26 changed files with 686 additions and 119 deletions
|
@ -79,6 +79,7 @@ static int xioopen_tun(int argc, const char *argv[], struct opt *opts, int xiofl
|
|||
|
||||
/*========================= the tunnel interface =========================*/
|
||||
Notice("creating tunnel network interface");
|
||||
applyopts_optgroup(-1, opts, PH_PRESOCKET, PH_PRESOCKET, GROUP_PROCESS);
|
||||
if ((result = _xioopen_open(tundevice, rw, opts)) < 0)
|
||||
return result;
|
||||
xfd->stream.fd = result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue