From b15420fdc55d46ab0df77a4d7e7dd6148cc53c05 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 9 Nov 2019 11:21:55 +0100 Subject: [PATCH] syslogd: Inherit parsed PRI value in RFC3164 front-end The RFC5424 front-end already does this. Signed-off-by: Joachim Nilsson --- src/syslogd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/syslogd.c b/src/syslogd.c index 7bf2ccd..b4cee55 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1035,6 +1035,7 @@ parsemsg_rfc3164(const char *from, int pri, char *msg) memset(&buffer, 0, sizeof(buffer)); buffer.recvhost = (char *)from; + buffer.pri = pri; buffer.msg = line; /* Parse the timestamp provided by the remote side. */