From d11e8221a8b9592bca7f219cc3d3cf3359273ba1 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 30 Aug 2013 18:29:46 +0200 Subject: milestone: defaultTZ can be set in msg obj (via imtcp) ... but parser does not yet use it. --- tcps_sess.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcps_sess.c') diff --git a/tcps_sess.c b/tcps_sess.c index 5821e443..96bb6a4b 100644 --- a/tcps_sess.c +++ b/tcps_sess.c @@ -253,6 +253,8 @@ defaultDoSubmitMessage(tcps_sess_t *pThis, struct syslogTime *stTime, time_t ttG CHKiRet(msgConstructWithTime(&pMsg, stTime, ttGenTime)); MsgSetRawMsg(pMsg, (char*)pThis->pMsg, pThis->iMsg); MsgSetInputName(pMsg, pThis->pLstnInfo->pInputName); + if(pThis->pLstnInfo->dfltTZ != NULL) + MsgSetDfltTZ(pMsg, (char*) pThis->pLstnInfo->dfltTZ); MsgSetFlowControlType(pMsg, pThis->pSrv->bUseFlowControl ? eFLOWCTL_LIGHT_DELAY : eFLOWCTL_NO_DELAY); pMsg->msgFlags = NEEDS_PARSING | PARSE_HOSTNAME; -- cgit v1.2.3