From 7bdafebb0a83bb4ed6746da5c5c47b3380ef0702 Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Tue, 5 Dec 2023 14:09:40 +0000 Subject: [PATCH] copy all members of ziti_options (#582) --- library/ziti.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ziti.c b/library/ziti.c index 6230c4bc..e868a0e2 100644 --- a/library/ziti.c +++ b/library/ziti.c @@ -1841,8 +1841,10 @@ int ziti_context_set_options(ziti_context ztx, const ziti_options *options) { } else { #define copy_opt(f) if (options->f != 0) ztx->opts.f = options->f + copy_opt(disabled); copy_opt(config_types); copy_opt(refresh_interval); + copy_opt(metrics_type); copy_opt(api_page_size); copy_opt(event_cb); copy_opt(events);