diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-23 17:43:21 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-24 10:05:51 +0200 |
commit | 9f5b28acf21a0bd413c3295d951e25d5988b8844 (patch) | |
tree | f900409e668d830da9e94d0d6a5f680d79eb610b | |
parent | 1a878a799013f1644fd7c38709669293d01887f3 (diff) |
xlate-test: Fix for calling wrong command name
Aparently, this is a leftover from the compat->nft naming change in
created binary (symlinks).
Fixes: be70918eab26e ("xtables: rename xt-multi binaries to -nft, -legacy")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rwxr-xr-x | xlate-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlate-test.py b/xlate-test.py index 803c5b7a..f365a700 100755 --- a/xlate-test.py +++ b/xlate-test.py @@ -40,7 +40,7 @@ def run_test(name, payload): for line in payload: if line.startswith(keywords): tests += 1 - process = Popen([ os.path.abspath(os.path.curdir) + "/iptables/xtables-compat-multi" ] + shlex.split(line), stdout=PIPE, stderr=PIPE) + process = Popen([ os.path.abspath(os.path.curdir) + "/iptables/xtables-nft-multi" ] + shlex.split(line), stdout=PIPE, stderr=PIPE) (output, error) = process.communicate() if process.returncode == 0: translation = output.decode("utf-8").rstrip(" \n") |