summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2017-03-03 20:47:30 -0500
committerJason D. McCormick <jason@mfamily.org>2017-03-03 20:47:30 -0500
commit566324432cccf156fb0f4ddcb9993028bac5489c (patch)
treefb48aef9628f146c587018c57bbbab9a2fef2847 /src/etc
parentc06d14488b4b045d041a3002ca44d96c9ed4a118 (diff)
downloadpfsense-566324432cccf156fb0f4ddcb9993028bac5489c.zip
pfsense-566324432cccf156fb0f4ddcb9993028bac5489c.tar.gz
use right var for zoneid
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/dyndns.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class
index 408c738..89f4075 100644
--- a/src/etc/inc/dyndns.class
+++ b/src/etc/inc/dyndns.class
@@ -652,7 +652,7 @@
$r53 = new Route53($this->_dnsUser, $this->_dnsPass);
$apiurl = $r53->getApiUrl($this->_dnsZoneID);
$xmlreq = $r53->getRequestBody($this->_dnsHost, $this->_dnsIP, $this->_dnsTTL);
- $httphead = $r53->getHttpPostHeaders($r53_zoneId, "us-east-1", hash("sha256",$xmlreq));
+ $httphead = $r53->getHttpPostHeaders($this->_dnsZoneID, "us-east-1", hash("sha256",$xmlreq));
curl_setopt($ch, CURLOPT_HTTPHEADER, $httphead);
if($this->_dnsVerboseLog){
log_error(sprintf("Sending reuquest to: %s", $apiurl));
OpenPOWER on IntegriCloud