summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorFlorian Asche <github@florian-asche.de>2014-03-10 22:06:35 +0100
committerFlorian Asche <github@florian-asche.de>2014-03-10 22:06:35 +0100
commit3c6f29c0b58cd5b405b3612c7d53f1bc252cd223 (patch)
treef6dae6822a9a12f5c88d23e374027d25a1850245 /etc
parent5244c510a264802b425251d474c0db053c73600f (diff)
downloadpfsense-3c6f29c0b58cd5b405b3612c7d53f1bc252cd223.zip
pfsense-3c6f29c0b58cd5b405b3612c7d53f1bc252cd223.tar.gz
Update services.inc
IPv4 ONLY
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 8298d99..ec9d05f 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1686,6 +1686,7 @@ function dyndnsCheckIP($int) {
curl_setopt($ip_ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ip_ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ip_ch, CURLOPT_INTERFACE, $ip_address);
+ curl_setopt($ip_ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
$ip_result_page = curl_exec($ip_ch);
curl_close($ip_ch);
$ip_result_decoded = urldecode($ip_result_page);
OpenPOWER on IntegriCloud