From 0aa0cdcde0a2d7d8963bb951c0f21fd1aebb58dd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 23 Jun 2013 22:42:04 +0200 Subject: [PATCH] DNS check: Only use the IPv4 version. --- config/cfgroot/general-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index 9c6d460e66..b1b47abcb0 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -858,7 +858,7 @@ sub FetchPublicIp { Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} ); } my $user_agent = &MakeUserAgent(); - my ($out, $response) = Net::SSLeay::get_http( 'checkip.dns.lightningwirelabs.com', + my ($out, $response) = Net::SSLeay::get_http( 'checkip4.dns.lightningwirelabs.com', 80, "/", Net::SSLeay::make_headers('User-Agent' => $user_agent ) -- 2.39.5