From 95fc59a0bcddae3e174c4baf3f47a6cd2a15791b Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sat, 7 Jul 2018 10:01:09 +0200 Subject: [PATCH] core: define core tokens before parsing config file --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 846e35970de..1830b9628ff 100644 --- a/src/main.c +++ b/src/main.c @@ -1952,6 +1952,8 @@ int main(int argc, char** argv) init_tcp_options(); /* set the defaults before the config */ #endif + pp_define_core(); + /* process command line (cfg. file path etc) */ optind = 1; /* reset getopt */ /* switches required before script processing */ @@ -2155,7 +2157,6 @@ int main(int argc, char** argv) } if (debug_flag) default_core_cfg.debug = debug_save; pp_ifdef_level_check(); - pp_define_core(); print_rls(); if(init_dst_set()<0) {