upgrade copyright, aux tools, etc

This commit is contained in:
Olof hagsand 2021-01-21 12:23:46 +01:00
parent 2d402b7ba5
commit 68371d4fc5
21 changed files with 542 additions and 438 deletions

View file

@ -486,6 +486,8 @@ clicon_options_main(clicon_handle h)
clicon_option_str_set(h, "CLICON_CONFIGFILE", CLIXON_DEFAULT_CONFIG);
}
configfile = clicon_hash_value(copt, "CLICON_CONFIGFILE", NULL);
if (strlen(configfile) == 0)
configfile = clicon_hash_value(copt, "CLICON_CONFIGFILE", NULL);
clicon_debug(1, "CLICON_CONFIGFILE=%s", configfile);
/* File must end with .xml */
if ((suffix = rindex(configfile, '.')) != NULL){