Blame SOURCES/rsyslog-8.24.0-rhbz1400594-tls-config.patch

b65758
From 83ea7bc475cc722033082e51416947842810d1fc Mon Sep 17 00:00:00 2001
b65758
From: Tomas Sykora <tosykora@redhat.com>
b65758
Date: Fri, 23 Dec 2016 06:51:52 -0500
b65758
Subject: [PATCH 2/3] In rsyslog v7 because of bug mix of old and new syntax
b65758
 had to be used to configure tls server-client. In rsyslog v8 this bug was
b65758
 fixed but the mixed configuration didn't worked anymore which was a
b65758
 regresion. With this patch, mixed configuration workes again.
b65758
b65758
Resolves: RHBZ#1400594
b65758
---
b65758
 tools/omfwd.c | 2 ++
b65758
 1 file changed, 2 insertions(+)
b65758
b65758
diff --git a/tools/omfwd.c b/tools/omfwd.c
b65758
index 45fcfd6..c1d3e64 100644
b65758
--- a/tools/omfwd.c
b65758
+++ b/tools/omfwd.c
b65758
@@ -925,6 +925,8 @@ initTCP(wrkrInstanceData_t *pWrkrData)
b65758
 		CHKiRet(tcpclt.SetSendPrepRetry(pWrkrData->pTCPClt, TCPSendPrepRetry));
b65758
 		CHKiRet(tcpclt.SetFraming(pWrkrData->pTCPClt, pData->tcp_framing));
b65758
 		CHKiRet(tcpclt.SetRebindInterval(pWrkrData->pTCPClt, pData->iRebindInterval));
b65758
+		if (cs.iStrmDrvrMode)
b65758
+                        pData->iStrmDrvrMode = cs.iStrmDrvrMode;
b65758
 	}
b65758
 finalize_it:
b65758
 	RETiRet;
b65758
-- 
b65758
2.9.3
b65758