Netlink errors detected during dco availability detection are not really
required and can confuse the user.
Have them printed to the dco debug level.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220812130657.29899-9-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24892.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
bool
dco_available(int msglevel)
{
- if (resolve_ovpn_netlink_id(msglevel) < 0)
+ if (resolve_ovpn_netlink_id(D_DCO_DEBUG) < 0)
{
msg(msglevel,
"Note: Kernel support for ovpn-dco missing, disabling data channel offload.");