diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-08-26 14:58:38 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-08-30 19:43:31 +0200 |
commit | c188736cd81aab5924073118f11d1b9dc7696382 (patch) | |
tree | 9351f55cc385e655b29fd6c307fd4d2a7a244faf /test/lib | |
parent | 9e0dbc8948138053a8cc8e5a98632fafdead921f (diff) | |
download | passt-c188736cd81aab5924073118f11d1b9dc7696382.tar passt-c188736cd81aab5924073118f11d1b9dc7696382.tar.gz passt-c188736cd81aab5924073118f11d1b9dc7696382.tar.bz2 passt-c188736cd81aab5924073118f11d1b9dc7696382.tar.lz passt-c188736cd81aab5924073118f11d1b9dc7696382.tar.xz passt-c188736cd81aab5924073118f11d1b9dc7696382.tar.zst passt-c188736cd81aab5924073118f11d1b9dc7696382.zip |
Use explicit --netns option rather than multiplexing with PID
When attaching to an existing namespace, pasta can take a PID or the name
or path of a network namespace as a non-option parameter. We disambiguate
based on what the parameter looks like. Make this more explicit by using
a --netns option for explicitly giving the path or name, and treating a
non-option argument always as a PID.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: Fix typo in man page]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions