From d9f68d62681fba81e0fe428647ae3a7a0ce659c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Falgueras=20Garc=C3=ADa?= Date: Fri, 12 Aug 2016 22:17:20 +0200 Subject: tests: masq: Fix wrong expression creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The expression should be "masq" not "nat. Signed-off-by: Carlos Falgueras GarcĂ­a Signed-off-by: Pablo Neira Ayuso --- tests/nft-expr_masq-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3