commit | 986ca97311daef6faf3d53f3fd3ab90390f17a36 | [log] [tgz] |
---|---|---|
author | Artem Glazychev <artem.glazychev@xored.com> | Thu Sep 07 14:16:56 2023 +0700 |
committer | Damjan Marion <dmarion@0xa5.net> | Wed Sep 13 12:15:17 2023 +0000 |
tree | c096dbb7afc32e2add74560f32ed316f088757cc | |
parent | 63335e4898868113ede66fdc186c9585e51178c4 [diff] [blame] |
vppinfra: fix setns typo Type: fix Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Change-Id: Ib8eb70336956bc2e8d0454f3c1f2c62ec98cb009
diff --git a/src/vppinfra/socket.c b/src/vppinfra/socket.c index ef0eaae..b13675b 100644 --- a/src/vppinfra/socket.c +++ b/src/vppinfra/socket.c
@@ -732,7 +732,7 @@ #if CLIB_LINUX if (netns_fd != -1) { - setns (CLONE_NEWNET, netns_fd); + setns (netns_fd, CLONE_NEWNET); close (netns_fd); } #endif