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

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