This message is purely a debug message, so it should go to the
appropriate log level. At the same time make it more clear.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220812130657.29899-11-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24893.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
uint32_t ifindex = nla_get_u32(attrs[OVPN_ATTR_IFINDEX]);
if (ifindex != dco->ifindex)
{
- msg(D_DCO, "ovpn-dco: received message type %d with mismatched ifindex %d\n",
+ msg(D_DCO_DEBUG,
+ "ovpn-dco: ignoring message (type=%d) for foreign ifindex %d",
gnlh->cmd, ifindex);
return NL_SKIP;
}