diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-16 17:27:00 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-16 17:27:00 +0200 |
commit | 4349005f4e508fed9db2891446d75afdfb83ec0f (patch) | |
tree | 45b8a2e44dc0571f3848bca6fd953cbac791c22d /src/wg-quick | |
parent | wg: only error on wg show if all interfaces fail (diff) | |
download | wireguard-tools-4349005f4e508fed9db2891446d75afdfb83ec0f.tar.xz wireguard-tools-4349005f4e508fed9db2891446d75afdfb83ec0f.zip |
wg-quick: allow link local default gateway
It's unclear why it was like this in the first place, but it apparently
broke certain IPv6 setups.
Reported-by: Jonas Blahut <j@die-blahuts.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/wg-quick')
-rwxr-xr-x | src/wg-quick/darwin.bash | 1 | ||||
-rwxr-xr-x | src/wg-quick/freebsd.bash | 1 | ||||
-rwxr-xr-x | src/wg-quick/openbsd.bash | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/wg-quick/darwin.bash b/src/wg-quick/darwin.bash index 8bcc404..ece16f2 100755 --- a/src/wg-quick/darwin.bash +++ b/src/wg-quick/darwin.bash @@ -187,7 +187,6 @@ collect_gateways() { GATEWAY6="" while read -r destination gateway _; do [[ $destination == default ]] || continue - [[ $gateway == fe80:* ]] && continue GATEWAY6="$gateway" break done < <(netstat -nr -f inet6) diff --git a/src/wg-quick/freebsd.bash b/src/wg-quick/freebsd.bash index 40dc3f1..a2bdafb 100755 --- a/src/wg-quick/freebsd.bash +++ b/src/wg-quick/freebsd.bash @@ -188,7 +188,6 @@ collect_gateways() { GATEWAY6="" while read -r destination gateway _; do [[ $destination == default ]] || continue - [[ $gateway == fe80:* ]] && continue GATEWAY6="$gateway" break done < <(netstat -nr -f inet6) diff --git a/src/wg-quick/openbsd.bash b/src/wg-quick/openbsd.bash index 786d145..e0c6d1a 100755 --- a/src/wg-quick/openbsd.bash +++ b/src/wg-quick/openbsd.bash @@ -185,7 +185,6 @@ collect_gateways() { GATEWAY6="" while read -r destination gateway _; do [[ $destination == default ]] || continue - [[ $gateway == fe80:* ]] && continue GATEWAY6="$gateway" break done < <(netstat -nr -f inet6) |