Disabling IPv6 per default due to failing docker tests

This commit is contained in:
Olof hagsand 2020-11-15 18:14:41 +01:00
parent a5d56f1cb7
commit 4eee00101c
7 changed files with 51 additions and 18 deletions

View file

@ -182,14 +182,14 @@ int clicon_err_fn(const char *fn,
strncpy(clicon_err_reason, msg, ERR_STRLEN-1);
/* Actually log it */
if (errno){
if (suberr){
/* Here we could take care of specific errno, like application-defined errors */
clicon_log(LOG_ERR, "%s: %d: %s: %s: %s",
fn,
line,
clicon_strerror(category),
msg,
errno==XMLPARSE_ERRNO?"XML parse error":strerror(errno));
suberr==XMLPARSE_ERRNO?"XML parse error":strerror(suberr));
}
else
clicon_log(LOG_ERR, "%s: %d: %s: %s",