summaryrefslogtreecommitdiffstats
path: root/plugins/pmrfc3164sd/pmrfc3164sd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-09-26 12:41:50 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-09-26 12:41:50 +0200
commita8b1e96d7bf91d97646789c1805587ca1ebba3e9 (patch)
treefea136da0c5c290c953d8b80a4b233a96de5d247 /plugins/pmrfc3164sd/pmrfc3164sd.c
parent039e23df84ed435ebd674ff5bcad6098b5038664 (diff)
parentb810f0dd3ade85efeb7dc9b99fade798764d0ac2 (diff)
downloadrsyslog-a8b1e96d7bf91d97646789c1805587ca1ebba3e9.tar.gz
rsyslog-a8b1e96d7bf91d97646789c1805587ca1ebba3e9.tar.bz2
rsyslog-a8b1e96d7bf91d97646789c1805587ca1ebba3e9.zip
Merge branch 'v7-stable-mmrfc5424addhmac'
Conflicts: Makefile.am configure.ac runtime/msg.c runtime/rsyslog.h
Diffstat (limited to 'plugins/pmrfc3164sd/pmrfc3164sd.c')
-rw-r--r--plugins/pmrfc3164sd/pmrfc3164sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pmrfc3164sd/pmrfc3164sd.c b/plugins/pmrfc3164sd/pmrfc3164sd.c
index de5805bc..0ed4a56c 100644
--- a/plugins/pmrfc3164sd/pmrfc3164sd.c
+++ b/plugins/pmrfc3164sd/pmrfc3164sd.c
@@ -177,7 +177,7 @@ CODESTARTparse
assert(pMsg->pszRawMsg != NULL);
lenMsg = pMsg->iLenRawMsg - pMsg->offAfterPRI; /* note: offAfterPRI is already the number of PRI chars (do not add one!) */
p2parse = pMsg->pszRawMsg + pMsg->offAfterPRI; /* point to start of text, after PRI */
- setProtocolVersion(pMsg, 0);
+ setProtocolVersion(pMsg, MSG_LEGACY_PROTOCOL);
/* Check to see if msg contains a timestamp. We start by assuming
* that the message timestamp is the time of reception (which we