diff options
author | Phil Sutter <phil@nwl.cc> | 2023-09-13 20:44:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-03 12:23:37 +0100 |
commit | 8db05f2c4f3d71571a8d6fe017699a61fab16331 (patch) | |
tree | ec80c789dadc301c495278c345abb05a25501ca1 | |
parent | ff245dac04efd564d8a610acdabba30a9aa849c5 (diff) |
parser_json: Fix typo in json_parse_cmd_add_object()
commit 300edcfbb357ef1785b5a16424952fcd06146cb3 upstream.
A case of bad c'n'p in the fixed commit broke ct timeout objects
parsing.
Fixes: c7a5401943df8 ("parser_json: Fix for ineffective family value checks")
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | src/parser_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_json.c b/src/parser_json.c index 47cc652b..f61cc14e 100644 --- a/src/parser_json.c +++ b/src/parser_json.c @@ -3454,7 +3454,7 @@ static struct cmd *json_parse_cmd_add_object(struct json_ctx *ctx, obj_free(obj); return NULL; } - obj->ct_helper.l3proto = l3proto; + obj->ct_timeout.l3proto = l3proto; init_list_head(&obj->ct_timeout.timeout_list); if (json_parse_ct_timeout_policy(ctx, root, obj)) { |