diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-11-10 17:07:31 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-11-10 17:07:31 +0100 |
commit | d73af64b9d28a5b0309104232c848e8ca8ab6956 (patch) | |
tree | 55a8a7f9b465187aa53f490e16e38e92faa34d60 | |
parent | de899697fd8eb18e828e806ffab04d053208bbf2 (diff) |
libiptc: use hex output for hookmask
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | libiptc/libiptc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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], |