From 2d616c409711f0df968bd894ec7f8c0545257214 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 23 Sep 2013 12:17:53 +0200 Subject: consistently use new message protocol type #define's --- plugins/pmlastmsg/pmlastmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/pmlastmsg/pmlastmsg.c') diff --git a/plugins/pmlastmsg/pmlastmsg.c b/plugins/pmlastmsg/pmlastmsg.c index a290c446..8c475fbb 100644 --- a/plugins/pmlastmsg/pmlastmsg.c +++ b/plugins/pmlastmsg/pmlastmsg.c @@ -132,7 +132,7 @@ dbgprintf("wrong closing text!\n"); */ DBGPRINTF("pmlastmsg detected a \"last message repeated n times\" message\n"); - setProtocolVersion(pMsg, 0); + setProtocolVersion(pMsg, MSG_LEGACY_PROTOCOL); memcpy(&pMsg->tTIMESTAMP, &pMsg->tRcvdAt, sizeof(struct syslogTime)); MsgSetMSGoffs(pMsg, pMsg->offAfterPRI); /* we don't have a header! */ MsgSetTAG(pMsg, (uchar*)"", 0); -- cgit v1.2.3