diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-22 15:28:06 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-22 16:41:59 +0200 |
commit | cd5cbb980e863eae49b52d92c2ffd5c8c9801483 (patch) | |
tree | c83fc5b0b587e7f5ed4263731be9c46cb859fd5b /src/tools/wg-quick/darwin.bash | |
parent | tools: fix OpenBSD build (diff) | |
download | wireguard-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 '')
-rwxr-xr-x | src/tools/wg-quick/darwin.bash | 2 |
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 |