From eec604dc95aa9e6a27803ebeae62469e3b416d8c Mon Sep 17 00:00:00 2001 From: Iurii Egorov Date: Thu, 30 Nov 2023 10:18:00 +0300 Subject: [PATCH] Fix wg-quick --- src/wg-quick/linux.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wg-quick/linux.bash b/src/wg-quick/linux.bash index c7dfdc3..12625ea 100755 --- a/src/wg-quick/linux.bash +++ b/src/wg-quick/linux.bash @@ -87,7 +87,7 @@ auto_su() { add_if() { local ret - if ! cmd ip link add "$INTERFACE" type amnezia; then + if ! cmd ip link add "$INTERFACE" type amneziawg; then ret=$? [[ -e /sys/module/amneziawg ]] || ! command -v "${WG_QUICK_USERSPACE_IMPLEMENTATION:-amneziawg-go}" >/dev/null && exit $ret echo "[!] Missing WireGuard (Amnezia VPN) kernel module. Falling back to slow userspace implementation." >&2