Skip to content
Snippets Groups Projects
Commit 672e7a2f authored by Fabian Blaese's avatar Fabian Blaese Committed by Adrian Schmutzler
Browse files

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: default avatarFabian Bläse <fabian@blaese.de>
Reviewed-by: default avatarChristian Dresel <fff@chrisi01.de>
Reviewed-by: default avatarTim Niemeyer <tim@tn-x.org>
Tested-by: default avatarFabian Bläse <fabian@blaese.de>
parent e1b9280f
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment