summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-22 14:26:54 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-22 14:26:54 +0000
commit641bf139c1738bac3ff8d210f90f38cb6c78a1c8 (patch)
treeb98fda1e9ce67f064b1d53d628025763968ffe19
parenteb346556c022808886bec4ffacbe3409aacfac27 (diff)
downloadpfsense-641bf139c1738bac3ff8d210f90f38cb6c78a1c8.zip
pfsense-641bf139c1738bac3ff8d210f90f38cb6c78a1c8.tar.gz
Try to send the update through the interface that has the ip so some services do not complain.
-rw-r--r--etc/inc/dyndns.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index c21d7a5..79c9bae 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -167,6 +167,7 @@
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, $this->_UserAgent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
+ curl_setopt($ip_ch, CURLOPT_INTERFACE, $this->dnsIP);
}
switch ($this->_dnsService) {
OpenPOWER on IntegriCloud