diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-21 09:26:34 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-21 09:26:34 +0200 |
commit | 16450df18b3f72160aa232d2fb6e0b064f9ff55d (patch) | |
tree | 93fb2f1f58a9a9333860e5ca739cd30e8e5b9574 /plugins/imrelp/imrelp.c | |
parent | af464bde4a4649dc51a5ee3c6a70346d1eba173d (diff) | |
download | rsyslog-16450df18b3f72160aa232d2fb6e0b064f9ff55d.tar.gz rsyslog-16450df18b3f72160aa232d2fb6e0b064f9ff55d.tar.bz2 rsyslog-16450df18b3f72160aa232d2fb6e0b064f9ff55d.zip |
omrelp: emit error message on peer authentication failure
Diffstat (limited to 'plugins/imrelp/imrelp.c')
-rw-r--r-- | plugins/imrelp/imrelp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index fe12ebf1..1ee512a4 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -149,7 +149,7 @@ static void onAuthErr(void *pUsr, char *authinfo, char* errmesg, __attribute__((unused)) relpRetVal errcode) { instanceConf_t *inst = (instanceConf_t*) pUsr; - errmsg.LogError(0, NO_ERRCODE, "imrelp[%s]: authentication error '%s', peer " + errmsg.LogError(0, RS_RET_RELP_AUTH_FAIL, "imrelp[%s]: authentication error '%s', peer " "is '%s'", inst->pszBindPort, errmesg, authinfo); } |