summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
author9Lukas5 <9Lukas5@users.noreply.github.com>2018-09-20 21:33:36 +0200
committerRenato Botelho <renato@netgate.com>2018-09-27 08:52:12 -0300
commit0a72eb0be7865e0b796d9083e71e1a0fe5c91368 (patch)
treee696a7466c442233d03c1cee8887f531fe9859b1 /src/etc
parent46eb8b6346b93cae31f35647e26d06bf6da7ba44 (diff)
downloadpfsense-0a72eb0be7865e0b796d9083e71e1a0fe5c91368.zip
pfsense-0a72eb0be7865e0b796d9083e71e1a0fe5c91368.tar.gz
enable ip send for FreeDNS DynDNS update
without this, only legacy IP records get updated correctly. redmi ticket: https://redmine.pfsense.org/issues/8924 (cherry picked from commit 44857365cd397a468fadd79dea75a375f289f32b)
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class
index 0a52bdb..011d3ea 100644
--- a/src/etc/inc/dyndns.class
+++ b/src/etc/inc/dyndns.class
@@ -604,8 +604,8 @@
break;
case 'freedns':
case 'freedns-v6':
- $needIP = FALSE;
- curl_setopt($ch, CURLOPT_URL, 'https://freedns.afraid.org/dynamic/update.php?' . $this->_dnsPass);
+ $needIP = TRUE;
+ curl_setopt($ch, CURLOPT_URL, 'https://freedns.afraid.org/dynamic/update.php?' . $this->_dnsPass . '&address=' . $this->_dnsIP);
break;
case 'dnsexit':
$needsIP = TRUE;
OpenPOWER on IntegriCloud