diff --git a/src/wg-quick/darwin.bash b/src/wg-quick/darwin.bash index 1443c76..8387d85 100755 --- a/src/wg-quick/darwin.bash +++ b/src/wg-quick/darwin.bash @@ -100,7 +100,7 @@ get_real_interface() { } add_if() { - export WG_DARWIN_UTUN_NAME_FILE="/var/run/wireguard/$INTERFACE.name" + export WG_TUN_NAME_FILE="/var/run/wireguard/$INTERFACE.name" mkdir -m 0700 -p "/var/run/wireguard/" cmd "${WG_QUICK_USERSPACE_IMPLEMENTATION:-wireguard-go}" utun get_real_interface