summaryrefslogtreecommitdiffstats
path: root/src/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/table.c')
-rw-r--r--src/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table.c b/src/table.c
index e1dbd38..b2ebaa3 100644
--- a/src/table.c
+++ b/src/table.c
@@ -49,7 +49,7 @@ void nft_table_free(struct nft_table *t)
}
EXPORT_SYMBOL(nft_table_free);
-bool nft_table_attr_is_set(struct nft_table *t, uint16_t attr)
+bool nft_table_attr_is_set(const struct nft_table *t, uint16_t attr)
{
return t->flags & (1 << attr);
}