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