diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-05-14 12:37:36 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-05-14 12:37:36 +0200 |
commit | 5e51fa8a60cc8f1f68a945afc9b242f5a3057818 (patch) | |
tree | 52049928a53beae16651be1c880a7deadfeca01a /plugins/imrelp/imrelp.c | |
parent | a64a87e0edeb1711271ba277e267eff75564d067 (diff) | |
download | rsyslog-5e51fa8a60cc8f1f68a945afc9b242f5a3057818.tar.gz rsyslog-5e51fa8a60cc8f1f68a945afc9b242f5a3057818.tar.bz2 rsyslog-5e51fa8a60cc8f1f68a945afc9b242f5a3057818.zip |
omrelp: add support for TLS
Diffstat (limited to 'plugins/imrelp/imrelp.c')
-rw-r--r-- | plugins/imrelp/imrelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index 5e0ae552..21b30730 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -210,6 +210,8 @@ addListner(modConfData_t __attribute__((unused)) *modConf, instanceConf_t *inst) CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf)); CHKiRet(relpEngineSetFamily(pRelpEngine, glbl.GetDefPFFamily())); CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Required)); +// TODO: make configurable +CHKiRet(relpEngineEnableTLS(pRelpEngine)); CHKiRet(relpEngineSetSyslogRcv(pRelpEngine, onSyslogRcv)); if (!glbl.GetDisableDNS()) { CHKiRet(relpEngineSetDnsLookupMode(pRelpEngine, 1)); |