diff options
author | Jason D. McCormick <jason@mfamily.org> | 2017-03-02 21:18:08 -0500 |
---|---|---|
committer | Jason D. McCormick <jason@mfamily.org> | 2017-03-02 21:18:08 -0500 |
commit | b2cb736419922a841ec39f562352f673e1a7f33f (patch) | |
tree | b81a520df7e405f383ca14e0262e2414cd2ee9d8 /src | |
parent | fc970ca2967ef4250925cd44a8dd0acee18078c0 (diff) | |
download | pfsense-b2cb736419922a841ec39f562352f673e1a7f33f.zip pfsense-b2cb736419922a841ec39f562352f673e1a7f33f.tar.gz |
revert parsing of config field for region
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/dyndns.class | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index af85113..408c738 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -650,10 +650,9 @@ case 'route53': require_once("r53.class"); $r53 = new Route53($this->_dnsUser, $this->_dnsPass); - list($r53_regionId, $r53_zoneId) = split('/', $this->_dnsZoneID); - $apiurl = $r53->getApiUrl($r53_zoneId); + $apiurl = $r53->getApiUrl($this->_dnsZoneID); $xmlreq = $r53->getRequestBody($this->_dnsHost, $this->_dnsIP, $this->_dnsTTL); - $httphead = $r53->getHttpPostHeaders($r53_zoneId, $r53_regionId, hash("sha256",$xmlreq)); + $httphead = $r53->getHttpPostHeaders($r53_zoneId, "us-east-1", hash("sha256",$xmlreq)); curl_setopt($ch, CURLOPT_HTTPHEADER, $httphead); if($this->_dnsVerboseLog){ log_error(sprintf("Sending reuquest to: %s", $apiurl)); |