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-chain-test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/nft-chain-test.c') diff --git a/tests/nft-chain-test.c b/tests/nft-chain-test.c index 3f5c5a5..d678d46 100644 --- a/tests/nft-chain-test.c +++ b/tests/nft-chain-test.c @@ -79,12 +79,12 @@ int main(int argc, char *argv[]) nftnl_chain_set_u32(a, NFTNL_CHAIN_FAMILY, AF_INET); nftnl_chain_set_str(a, NFTNL_CHAIN_TABLE, "Table"); nftnl_chain_set_u32(a, NFTNL_CHAIN_POLICY,0x12345678); - nftnl_chain_set_u32(a, NFTNL_CHAIN_HOOKNUM, 0x12345678); - nftnl_chain_set_s32(a, NFTNL_CHAIN_PRIO, 0x12345678); - nftnl_chain_set_u32(a, NFTNL_CHAIN_USE, 0x12345678 ); + nftnl_chain_set_u32(a, NFTNL_CHAIN_HOOKNUM, 0x34567812); + nftnl_chain_set_s32(a, NFTNL_CHAIN_PRIO, 0x56781234); + nftnl_chain_set_u32(a, NFTNL_CHAIN_USE, 0x78123456); nftnl_chain_set_u64(a, NFTNL_CHAIN_PACKETS, 0x1234567812345678); - nftnl_chain_set_u64(a, NFTNL_CHAIN_BYTES, 0x1234567812345678); - nftnl_chain_set_u64(a, NFTNL_CHAIN_HANDLE, 0x1234567812345678); + nftnl_chain_set_u64(a, NFTNL_CHAIN_BYTES, 0x7812345678123456); + nftnl_chain_set_u64(a, NFTNL_CHAIN_HANDLE, 0x5678123456781234); nftnl_chain_set_str(a, NFTNL_CHAIN_TYPE, "Prueba"); nftnl_chain_set_str(a, NFTNL_CHAIN_DEV, "eth0"); -- cgit v1.2.3