summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarlos Falgueras García <carlosfg@riseup.net>2016-08-12 22:17:20 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-13 12:28:30 +0200
commitd9f68d62681fba81e0fe428647ae3a7a0ce659c0 (patch)
tree735b674f7eeaa309ca324b86d94cb5e9e454a0a1 /tests
parent9afae310b019aa497afb94833afc9a936bc38a1f (diff)
tests: masq: Fix wrong expression creation
The expression should be "masq" not "nat. Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/nft-expr_masq-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nft-expr_masq-test.c b/tests/nft-expr_masq-test.c
index f0302e2..3f9903d 100644
--- a/tests/nft-expr_masq-test.c
+++ b/tests/nft-expr_masq-test.c
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
b = nftnl_rule_alloc();
if (a == NULL || b == NULL)
print_err("OOM");
- ex = nftnl_expr_alloc("nat");
+ ex = nftnl_expr_alloc("masq");
if (ex == NULL)
print_err("OOM");