Disabling IPv6 per default due to failing docker tests
This commit is contained in:
parent
a5d56f1cb7
commit
4eee00101c
7 changed files with 51 additions and 18 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue