fastd: Allow IPv6 remotes for peers

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>
This commit is contained in:
Fabian Bläse 2018-11-10 23:17:02 +01:00 committed by Adrian Schmutzler
parent e1b9280f12
commit 672e7a2f9b
1 changed files with 1 additions and 1 deletions

View File

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