From: Jan Engelhardt Date: Mon, 10 Nov 2008 16:07:31 +0000 (+0100) Subject: libiptc: use hex output for hookmask X-Git-Tag: v1.4.3-rc1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d73af64b9d28a5b0309104232c848e8ca8ab6956;p=thirdparty%2Fiptables.git libiptc: use hex output for hookmask Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 17c2f49e..3f311a6c 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -1427,13 +1427,13 @@ TC_DUMP_ENTRIES(struct xtc_handle *const handle) printf("libiptc v%s. %u bytes.\n", XTABLES_VERSION, handle->entries->size); printf("Table `%s'\n", handle->info.name); - printf("Hooks: pre/in/fwd/out/post = %u/%u/%u/%u/%u\n", + printf("Hooks: pre/in/fwd/out/post = %x/%x/%x/%x/%x\n", handle->info.hook_entry[HOOK_PRE_ROUTING], handle->info.hook_entry[HOOK_LOCAL_IN], handle->info.hook_entry[HOOK_FORWARD], handle->info.hook_entry[HOOK_LOCAL_OUT], handle->info.hook_entry[HOOK_POST_ROUTING]); - printf("Underflows: pre/in/fwd/out/post = %u/%u/%u/%u/%u\n", + printf("Underflows: pre/in/fwd/out/post = %x/%x/%x/%x/%x\n", handle->info.underflow[HOOK_PRE_ROUTING], handle->info.underflow[HOOK_LOCAL_IN], handle->info.underflow[HOOK_FORWARD],