From b7a5d5e828989b2f32746fe860f4e8b59c332198 Mon Sep 17 00:00:00 2001 From: Vytas Dauksa Date: Thu, 23 Jan 2014 07:37:48 +0100 Subject: print mark & mark mask in hex rather then decimal modified ipset_print_mark to print in hex rather then decimal and altered accordingly test cases. Signed-off-by: Jozsef Kadlecsik --- tests/ipmarkhash.t.list1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/ipmarkhash.t.list1') diff --git a/tests/ipmarkhash.t.list1 b/tests/ipmarkhash.t.list1 index 74d2869..5455be9 100644 --- a/tests/ipmarkhash.t.list1 +++ b/tests/ipmarkhash.t.list1 @@ -1,10 +1,10 @@ Name: test Type: hash:ip,mark -Header: family inet markmask 4294967295 hashsize 1024 maxelem 65536 +Header: family inet markmask 0xffffffff hashsize 1024 maxelem 65536 Size in memory: 8468 References: 0 Members: -1.255.255.255,5 -2.0.0.0,5 -2.0.255.255,128 -2.1.0.0,128 +1.255.255.255,0x00000005 +2.0.0.0,0x00000005 +2.0.255.255,0x00000080 +2.1.0.0,0x00000080 -- cgit v1.2.3