summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rule.c b/src/rule.c
index 99a99e8a..6af7d9a9 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -1503,6 +1503,9 @@ static void obj_print_declaration(const struct obj *obj,
obj_print_data(obj, opts, octx);
nft_print(octx, "%s%s}%s", opts->nl, opts->tab, opts->nl);
+
+ if (octx->handle > 0)
+ nft_print(octx, "# handle %" PRIu64, obj->handle.handle.id);
}
void obj_print(const struct obj *obj, struct output_ctx *octx)