diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-06-10 16:56:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-06-15 13:26:33 +0200 |
commit | 30f73a954d630729e3618d57c4e5d47a39300a15 (patch) | |
tree | 2860964b05e8b60cbadeb729ac576d6f78020cf7 /tests/nft-expr_bitwise-test.c | |
parent | 50b175dbd598e80a0e67606645d1fa3c9be6ce01 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'tests/nft-expr_bitwise-test.c')
-rw-r--r-- | tests/nft-expr_bitwise-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nft-expr_bitwise-test.c b/tests/nft-expr_bitwise-test.c index 4b59751..64c1446 100644 --- a/tests/nft-expr_bitwise-test.c +++ b/tests/nft-expr_bitwise-test.c @@ -72,8 +72,8 @@ int main(int argc, char *argv[]) print_err("OOM"); nftnl_expr_set_u32(ex, NFTNL_EXPR_BITWISE_SREG, 0x12345678); - nftnl_expr_set_u32(ex, NFTNL_EXPR_BITWISE_DREG, 0x12345678); - nftnl_expr_set_u32(ex, NFTNL_EXPR_BITWISE_LEN, 0x12345678); + nftnl_expr_set_u32(ex, NFTNL_EXPR_BITWISE_DREG, 0x78123456); + nftnl_expr_set_u32(ex, NFTNL_EXPR_BITWISE_LEN, 0x56781234); nftnl_expr_set(ex, NFTNL_EXPR_BITWISE_MASK, &mask, sizeof(mask)); nftnl_expr_set(ex, NFTNL_EXPR_BITWISE_XOR, &xor, sizeof(xor)); |