From 59dae33e9a7a3d8aa9a4bee49c947cd5aab2ebcf Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 22 May 2018 15:28:06 +0200 Subject: [PATCH] wg-quick: darwin: rename namefile environment variable This paves the way for an openbsd implementation. Signed-off-by: Jason A. Donenfeld --- src/wg-quick/darwin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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