summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rule.c b/src/rule.c
index 83686240..fb0387c3 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -250,9 +250,8 @@ static void chain_print(const struct chain *chain)
printf("\tchain %s {\n", chain->handle.chain);
if (chain->hooknum) {
- printf("\t\t hook %s %u;\n",
- hooknum2str(chain->hooknum),
- chain->priority);
+ printf("\t\t type %s hook %s %u;\n", chain->type,
+ hooknum2str(chain->hooknum), chain->priority);
}
list_for_each_entry(rule, &chain->rules, list) {
printf("\t\t");