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 --- lib/ipset_hash_ipmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ipset_hash_ipmark.c') diff --git a/lib/ipset_hash_ipmark.c b/lib/ipset_hash_ipmark.c index fdea32f..922e6c0 100644 --- a/lib/ipset_hash_ipmark.c +++ b/lib/ipset_hash_ipmark.c @@ -28,7 +28,7 @@ static const struct ipset_arg hash_ipmark_create_args0[] = { }, { .name = { "markmask", NULL }, .has_arg = IPSET_MANDATORY_ARG, .opt = IPSET_OPT_MARKMASK, - .parse = ipset_parse_uint32, .print = ipset_print_number, + .parse = ipset_parse_uint32, .print = ipset_print_mark, }, { .name = { "hashsize", NULL }, .has_arg = IPSET_MANDATORY_ARG, .opt = IPSET_OPT_HASHSIZE, -- cgit v1.2.3