mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
kernel-netlink: Increase log level for dumped Netlink messages
Some of these contain key material so they should be logged on level 4.
This commit is contained in:
parent
1138b629fb
commit
346a050c36
@ -359,7 +359,7 @@ static status_t send_once(private_netlink_socket_t *this, struct nlmsghdr *in,
|
|||||||
|
|
||||||
if (this->names)
|
if (this->names)
|
||||||
{
|
{
|
||||||
DBG3(DBG_KNL, "sending %N %u: %b", this->names, in->nlmsg_type,
|
DBG4(DBG_KNL, "sending %N %u: %b", this->names, in->nlmsg_type,
|
||||||
(u_int)seq, in, in->nlmsg_len);
|
(u_int)seq, in, in->nlmsg_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -426,7 +426,7 @@ static status_t send_once(private_netlink_socket_t *this, struct nlmsghdr *in,
|
|||||||
{
|
{
|
||||||
if (this->names)
|
if (this->names)
|
||||||
{
|
{
|
||||||
DBG3(DBG_KNL, "received %N %u: %b", this->names, hdr->nlmsg_type,
|
DBG4(DBG_KNL, "received %N %u: %b", this->names, hdr->nlmsg_type,
|
||||||
hdr->nlmsg_seq, hdr, hdr->nlmsg_len);
|
hdr->nlmsg_seq, hdr, hdr->nlmsg_len);
|
||||||
}
|
}
|
||||||
memcpy(ptr, hdr, hdr->nlmsg_len);
|
memcpy(ptr, hdr, hdr->nlmsg_len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user