aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg-quick/darwin.bash
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-22 15:28:06 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-22 16:41:59 +0200
commitcd5cbb980e863eae49b52d92c2ffd5c8c9801483 (patch)
treec83fc5b0b587e7f5ed4263731be9c46cb859fd5b /src/tools/wg-quick/darwin.bash
parenttools: fix OpenBSD build (diff)
downloadwireguard-monolithic-historical-cd5cbb980e863eae49b52d92c2ffd5c8c9801483.tar.xz
wireguard-monolithic-historical-cd5cbb980e863eae49b52d92c2ffd5c8c9801483.zip
wg-quick: darwin: rename namefile environment variable
This paves the way for an openbsd implementation.
Diffstat (limited to 'src/tools/wg-quick/darwin.bash')
-rwxr-xr-xsrc/tools/wg-quick/darwin.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wg-quick/darwin.bash b/src/tools/wg-quick/darwin.bash
index 1443c76..8387d85 100755
--- a/src/tools/wg-quick/darwin.bash
+++ b/src/tools/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