syslogd: Inherit parsed PRI value in RFC3164 front-end

The RFC5424 front-end already does this.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-09 11:21:55 +01:00
parent 9aaa7ec8c4
commit b15420fdc5

View File

@ -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. */