summaryrefslogtreecommitdiff
path: root/tools/pmrfc5424.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pmrfc5424.c')
-rw-r--r--tools/pmrfc5424.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pmrfc5424.c b/tools/pmrfc5424.c
index 9b5c616..8e9510f 100644
--- a/tools/pmrfc5424.c
+++ b/tools/pmrfc5424.c
@@ -227,7 +227,7 @@ CODESTARTparse
ABORT_FINALIZE(RS_RET_COULD_NOT_PARSE);
}
DBGPRINTF("Message has RFC5424/syslog-protocol format.\n");
- setProtocolVersion(pMsg, 1);
+ setProtocolVersion(pMsg, MSG_RFC5424_PROTOCOL);
p2parse += 2;
lenMsg -= 2;