From d2dbe007367bf211a50df9f4a0868b85ab724789 Mon Sep 17 00:00:00 2001 From: Iurii Egorov Date: Wed, 7 Feb 2024 02:24:25 +0300 Subject: [PATCH] UAPI errors handling --- kmod-amneziawg/files/amnezia-sources.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmod-amneziawg/files/amnezia-sources.patch b/kmod-amneziawg/files/amnezia-sources.patch index d1f58d1..4add6d3 100644 --- a/kmod-amneziawg/files/amnezia-sources.patch +++ b/kmod-amneziawg/files/amnezia-sources.patch @@ -159,8 +159,8 @@ diff --color -urN -x uapi -x compat -x crypto -x .idea -x tests -x Kbuild -x Kco + ret = -1; + } + -+out: + wg->advanced_security_config.advanced_security_enabled = a_sec_on; ++out: + return ret; } diff --color -urN -x uapi -x compat -x crypto -x .idea -x tests -x Kbuild -x Kconfig -x Makefile -x dkms.conf ../../linux-source-6.2.0/drivers/net/wireguard/device.h ./device.h