summaryrefslogtreecommitdiffstats
path: root/src/statement.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-05-28 18:50:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-01 09:16:48 +0200
commit8fbf4b86119638702c9508ac562f36a3606772d3 (patch)
tree48b1bcdc495225da4b08d2ec7719377ee42b9d8a /src/statement.c
parent239a8fbbaa061d55c653922e158d8ba352eaf57f (diff)
objref: Use "ct helper" for NFT_OBJECT_CT_HELPER
Change name of NFT_OBJECT_CT_HELPER in objref_type table to "ct helper" for consistency. Note that this is not used in regular nft output since objref_stmt_print() treats this object type separately. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/statement.c')
-rw-r--r--src/statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statement.c b/src/statement.c
index ac151737..ff4c8eb6 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -179,7 +179,7 @@ struct stmt *counter_stmt_alloc(const struct location *loc)
static const char *objref_type[NFT_OBJECT_MAX + 1] = {
[NFT_OBJECT_COUNTER] = "counter",
[NFT_OBJECT_QUOTA] = "quota",
- [NFT_OBJECT_CT_HELPER] = "cthelper",
+ [NFT_OBJECT_CT_HELPER] = "ct helper",
[NFT_OBJECT_LIMIT] = "limit",
};