aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-16 17:27:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-16 17:27:00 +0200
commit81a2e7ec7c0175d642f82565946a04a70f0da2cd (patch)
treecc4f1835deaab598c14f122041f177817f476aed /src
parentreceive: use gro call instead of plain call (diff)
downloadwireguard-monolithic-historical-81a2e7ec7c0175d642f82565946a04a70f0da2cd.tar.xz
wireguard-monolithic-historical-81a2e7ec7c0175d642f82565946a04a70f0da2cd.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>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/wg-quick/darwin.bash1
-rwxr-xr-xsrc/tools/wg-quick/freebsd.bash1
-rwxr-xr-xsrc/tools/wg-quick/openbsd.bash1
3 files changed, 0 insertions, 3 deletions
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)