diff --git a/openvpn/tun/linux/client/sitnl.hpp b/openvpn/tun/linux/client/sitnl.hpp index 5a9ae977..d896d6ce 100644 --- a/openvpn/tun/linux/client/sitnl.hpp +++ b/openvpn/tun/linux/client/sitnl.hpp @@ -823,7 +823,7 @@ class SITNL /* for SITNL_ADDATTR */ err: - return -EINVAL; + return ret; } static int @@ -933,7 +933,7 @@ class SITNL /* for SITNL_ADDATTR */ err: - return -1; + return ret; } static int