]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libiptc: use hex output for hookmask
authorJan Engelhardt <jengelh@medozas.de>
Mon, 10 Nov 2008 16:07:31 +0000 (17:07 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 10 Nov 2008 16:07:31 +0000 (17:07 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
libiptc/libiptc.c

index 17c2f49e6a470065f71365e06b11afc38c7c951b..3f311a6c038b2ca4babaab8b6bab3a0be023c358 100644 (file)
@@ -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],