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:
parent
9aaa7ec8c4
commit
b15420fdc5
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user