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>
This commit is contained in:
Jason A. Donenfeld 2018-07-16 17:27:00 +02:00
parent 4502f4f2b7
commit 4349005f4e
3 changed files with 0 additions and 3 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)