diff --git a/src/cfgparse.c b/src/cfgparse.c index 9c567d936..7716b6cd5 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -4308,6 +4308,13 @@ int check_config_validity() goto init_proxies_list_stage2; } + if (init_proxies_list == cfg_log_forward) { + init_proxies_list = sink_proxies_list; + /* check if list is not null to avoid infinite loop */ + if (init_proxies_list) + goto init_proxies_list_stage2; + } + /* * Recount currently required checks. */