From 672e7a2f9bd06f01768e2a93d5cd4731a7212c77 Mon Sep 17 00:00:00 2001
From: Fabian Blaese <fabian@blaese.de>
Date: Sat, 10 Nov 2018 23:17:02 +0100
Subject: [PATCH] fastd: Allow IPv6 remotes for peers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The "ipv4" option is used to enforce using ipv4 when
using dns for fastd remotes.
However this option was incorrectly always set which
makes ipv6 connections impossible.
Because enforcing ipv4 is not necessary, this option
is removed.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
Tested-by: Fabian Bläse <fabian@blaese.de>
---
 src/packages/fff/fff-vpn-select/files/usr/sbin/vpn-select | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/packages/fff/fff-vpn-select/files/usr/sbin/vpn-select b/src/packages/fff/fff-vpn-select/files/usr/sbin/vpn-select
index ddd21a19..58e48c44 100755
--- a/src/packages/fff/fff-vpn-select/files/usr/sbin/vpn-select
+++ b/src/packages/fff/fff-vpn-select/files/usr/sbin/vpn-select
@@ -26,7 +26,7 @@ do
 		echo "key \"${key}\";" >> "$filename"
 		json_get_var address address
 		json_get_var port port
-		echo "remote ipv4 \"${address}\" port ${port};" >> "$filename"
+		echo "remote \"${address}\" port ${port};" >> "$filename"
 		echo "" >> "$filename"
 		echo "float yes;" >> "$filename"
 		
-- 
GitLab