From 30f73a954d630729e3618d57c4e5d47a39300a15 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 10 Jun 2016 16:56:46 +0200 Subject: tests: shuffle values that are injected Shuffle value that are used to set attributes, this variability should help us catch more problems in the future. Signed-off-by: Pablo Neira Ayuso --- tests/nft-expr_counter-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/nft-expr_counter-test.c') diff --git a/tests/nft-expr_counter-test.c b/tests/nft-expr_counter-test.c index d515952..519bc1f 100644 --- a/tests/nft-expr_counter-test.c +++ b/tests/nft-expr_counter-test.c @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) print_err("OOM"); nftnl_expr_set_u64(ex, NFTNL_EXPR_CTR_BYTES, 0x123456789abcdef0); - nftnl_expr_set_u64(ex, NFTNL_EXPR_CTR_PACKETS, 0x123456789abcdef0); + nftnl_expr_set_u64(ex, NFTNL_EXPR_CTR_PACKETS, 0xf0123456789abcde); nftnl_rule_add_expr(a, ex); nlh = nftnl_rule_nlmsg_build_hdr(buf, NFT_MSG_NEWRULE, AF_INET, 0, 1234); -- cgit v1.2.3