diff options
author | Vytas Dauksa <vytas.dauksa@smoothwall.net> | 2014-01-23 07:37:48 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-01-23 07:37:48 +0100 |
commit | b7a5d5e828989b2f32746fe860f4e8b59c332198 (patch) | |
tree | 0b688a660d64831958dbdb9024155e9e2c703145 /lib/ipset_hash_ipmark.c | |
parent | 2dfb973c0dcc6d22113e2370f461f1733035baaf (diff) |
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 <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'lib/ipset_hash_ipmark.c')
-rw-r--r-- | lib/ipset_hash_ipmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |