diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-15 17:07:16 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-15 17:07:16 +0200 |
commit | bf63832207f0e13e5bda564d2be993f10b0fb458 (patch) | |
tree | 4defdab1ad794949541d66c88451e6009634f3d2 | |
parent | 4b12cf94f078dd54e2ed7a2202104ddf6f3be69a (diff) | |
download | passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar.gz passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar.bz2 passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar.lz passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar.xz passt-bf63832207f0e13e5bda564d2be993f10b0fb458.tar.zst passt-bf63832207f0e13e5bda564d2be993f10b0fb458.zip |
conf, pasta: Create a new namespace also if probing netns options failed
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1155,7 +1155,7 @@ void conf(struct ctx *c, int argc, char **argv) usage(argv[0]); } - if (c->mode == MODE_PASTA && !c->pasta_netns_fd) + if (c->mode == MODE_PASTA && c->pasta_netns_fd <= 0) pasta_start_ns(c); if (nl_sock_init(c)) { |