From 6c407ae27b820310fb382fea9623b45fab50f0e5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 16 May 2018 04:12:02 +0200 Subject: wg-quick: add intentionally undocumented userspace implementation knob This knob might disappear at some point, and we don't want to encourage its use, so it's not being documented, but this should help with development of new implementations. Signed-off-by: Jason A. Donenfeld --- src/wg-quick/darwin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wg-quick/darwin.bash') diff --git a/src/wg-quick/darwin.bash b/src/wg-quick/darwin.bash index 4a3240c..0eef3d9 100755 --- a/src/wg-quick/darwin.bash +++ b/src/wg-quick/darwin.bash @@ -101,7 +101,7 @@ get_real_interface() { add_if() { export WG_DARWIN_UTUN_NAME_FILE="/var/run/wireguard/$INTERFACE.name" mkdir -m 0700 -p "/var/run/wireguard/" - cmd wireguard-go utun + cmd "${WG_QUICK_USERSPACE_IMPLEMENTATION:-wireguard-go}" utun get_real_interface } -- cgit v1.2.3-59-g8ed1b