diff options
author | Phil Sutter <phil@nwl.cc> | 2020-11-17 19:00:45 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-11-17 20:04:01 +0100 |
commit | 21873c24159053ce0a6bbd7e93091ceb0b73f90b (patch) | |
tree | ae8c51f7a066763f22587fc8890e262c78ae205b /extensions/libxt_recent.t | |
parent | 47251c8bda92b8f655453c52699454b739cc2231 (diff) |
iptables-test.py: Try to unshare netns by default
If user did not explicitly requst to "test netnamespace path", try an
import of 'unshare' module and call unshare() to avoid killing the local
host's network by accident.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_recent.t')
0 files changed, 0 insertions, 0 deletions