diff options
author | Jason D. McCormick <jason@mfamily.org> | 2017-02-03 20:21:02 -0500 |
---|---|---|
committer | Jason D. McCormick <jason@mfamily.org> | 2017-02-03 20:21:02 -0500 |
commit | cb5961d1fa64a45cbec5ef5d677b57f8d62f50b5 (patch) | |
tree | 5c2bae3bd6099e5d55b9569bdd9204f01f5fa5d1 /src/etc/inc/dyndns.class | |
parent | 70ada8192a8aa850c0ab7accd57d9d22fd2e49f9 (diff) | |
download | pfsense-cb5961d1fa64a45cbec5ef5d677b57f8d62f50b5.zip pfsense-cb5961d1fa64a45cbec5ef5d677b57f8d62f50b5.tar.gz |
commit initial fix; need to add hooks for region to zone id
Diffstat (limited to 'src/etc/inc/dyndns.class')
-rw-r--r-- | src/etc/inc/dyndns.class | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index 0dfdbac..f557b7b 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -652,7 +652,8 @@ $r53 = new Route53($this->_dnsUser, $this->_dnsPass); $apiurl = $r53->getApiUrl($this->_dnsZoneID); $xmlreq = $r53->getRequestBody($this->_dnsHost, $this->_dnsIP, $this->_dnsTTL); - $httphead = $r53->getHttpPostHeaders(strlen($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)); |