From 81a2e7ec7c0175d642f82565946a04a70f0da2cd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 16 Jul 2018 17:27:00 +0200 Subject: 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 --- src/tools/wg-quick/darwin.bash | 1 - src/tools/wg-quick/freebsd.bash | 1 - src/tools/wg-quick/openbsd.bash | 1 - 3 files changed, 3 deletions(-) (limited to 'src') diff --git a/src/tools/wg-quick/darwin.bash b/src/tools/wg-quick/darwin.bash index 8bcc404..ece16f2 100755 --- a/src/tools/wg-quick/darwin.bash +++ b/src/tools/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/tools/wg-quick/freebsd.bash b/src/tools/wg-quick/freebsd.bash index 40dc3f1..a2bdafb 100755 --- a/src/tools/wg-quick/freebsd.bash +++ b/src/tools/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/tools/wg-quick/openbsd.bash b/src/tools/wg-quick/openbsd.bash index 786d145..e0c6d1a 100755 --- a/src/tools/wg-quick/openbsd.bash +++ b/src/tools/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) -- cgit v1.2.3-59-g8ed1b