From: Carlos Falgueras García Date: Fri, 12 Aug 2016 20:17:20 +0000 (+0200) Subject: tests: masq: Fix wrong expression creation X-Git-Tag: libnftnl-1.0.7~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9f68d62681fba81e0fe428647ae3a7a0ce659c0;p=thirdparty%2Flibnftnl.git tests: masq: Fix wrong expression creation The expression should be "masq" not "nat. Signed-off-by: Carlos Falgueras García Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/nft-expr_masq-test.c b/tests/nft-expr_masq-test.c index f0302e22..3f9903dd 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");