diff options
author | Phil Sutter <phil@nwl.cc> | 2023-09-13 20:44:19 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-09-22 10:55:25 +0200 |
commit | 300edcfbb357ef1785b5a16424952fcd06146cb3 (patch) | |
tree | 151de29231c28d2f2134273753b9e2c25f3da210 | |
parent | 22febeea80043f5fe4eb1aa7723da0a0a6953802 (diff) |
parser_json: Fix typo in json_parse_cmd_add_object()
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 9532f7be..da056814 100644 --- a/src/parser_json.c +++ b/src/parser_json.c @@ -3570,7 +3570,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)) { |