diff options
author | Artem Glazychev <artem.glazychev@xored.com> | 2023-09-07 14:16:56 +0700 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-09-13 12:15:17 +0000 |
commit | 986ca97311daef6faf3d53f3fd3ab90390f17a36 (patch) | |
tree | c096dbb7afc32e2add74560f32ed316f088757cc /src/vppinfra/socket.c | |
parent | 63335e4898868113ede66fdc186c9585e51178c4 (diff) |
vppinfra: fix setns typo
Type: fix
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Change-Id: Ib8eb70336956bc2e8d0454f3c1f2c62ec98cb009
Diffstat (limited to 'src/vppinfra/socket.c')
-rw-r--r-- | src/vppinfra/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/socket.c b/src/vppinfra/socket.c index ef0eaaee0a3..b13675bc6f8 100644 --- a/src/vppinfra/socket.c +++ b/src/vppinfra/socket.c @@ -732,7 +732,7 @@ done: #if CLIB_LINUX if (netns_fd != -1) { - setns (CLONE_NEWNET, netns_fd); + setns (netns_fd, CLONE_NEWNET); close (netns_fd); } #endif |