[PATCH] fastd: Allow IPv6 remotes for peers

Fabian Bläse fabian at blaese.de
Sa Nov 10 23:17:02 CET 2018


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 at 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 ddd21a1..58e48c4 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"
 		
-- 
2.19.1



Mehr Informationen über die Mailingliste franken-dev