summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-05-24 20:10:44 +0200
committerFlorian Westphal <fw@strlen.de>2017-07-16 20:14:43 +0200
commitf63405f9203ce7a8464d585ad49ea67fb2c0bb3f (patch)
treed01bf44834459ab1fdd02eb659310506e9fc48ac /src/rule.c
parent0802d4f1fe7c65112633f002fbd56f97388f8ef5 (diff)
rename struct ct to ct_helper
Its misleading, this structure holds members for ct_helper object infrastructure, rename it. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rule.c b/src/rule.c
index f65674c0..ee510fe0 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -1258,9 +1258,9 @@ static void obj_print_data(const struct obj *obj,
break;
case NFT_OBJECT_CT_HELPER: {
printf("ct helper %s {\n", obj->handle.obj);
- printf("\t\ttype \"%s\" protocol ", obj->ct.helper_name);
- print_proto_name_proto(obj->ct.l4proto);
- printf("\t\tl3proto %s", family2str(obj->ct.l3proto));
+ printf("\t\ttype \"%s\" protocol ", obj->ct_helper.name);
+ print_proto_name_proto(obj->ct_helper.l4proto);
+ printf("\t\tl3proto %s", family2str(obj->ct_helper.l3proto));
break;
}
default: