summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index f8a27570..5693888c 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -1637,7 +1637,8 @@ static void flowtable_print_declaration(const struct flowtable *flowtable,
nft_print(octx, " %s {%s", flowtable->handle.flowtable, opts->nl);
nft_print(octx, "%s%shook %s priority %d%s",
- opts->tab, opts->tab, "ingress",
+ opts->tab, opts->tab,
+ hooknum2str(NFPROTO_NETDEV, flowtable->hooknum),
flowtable->priority, opts->stmt_separator);
nft_print(octx, "%s%sdevices = { ", opts->tab, opts->tab);