diff options
author | robjarsen <29106074+robjarsen@users.noreply.github.com> | 2018-04-03 13:27:42 -0400 |
---|---|---|
committer | robjarsen <29106074+robjarsen@users.noreply.github.com> | 2018-04-03 13:27:42 -0400 |
commit | 493e42841535f2f2bc2c02a7a935e91850d71e97 (patch) | |
tree | 07ff2e807d41f394fca1ca8ad1ae6593e5148513 /src/etc/inc/dyndns.class | |
parent | 0dda568ac1bff82c721e05c686b47b45b564caf5 (diff) | |
download | pfsense-493e42841535f2f2bc2c02a7a935e91850d71e97.zip pfsense-493e42841535f2f2bc2c02a7a935e91850d71e97.tar.gz |
Remove Whitespace
* src\etc\inc\dyndns.class
* src\etc\inc\simplepie\simplepie.inc
* src\usr\local\www\services_dyndns_edit.php
Diffstat (limited to 'src/etc/inc/dyndns.class')
-rw-r--r-- | src/etc/inc/dyndns.class | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index 24cda33..f245d6b 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -1041,7 +1041,7 @@ log_error("Tenant ID not found"); return false; } - // get an bearer token + // get an bearer token curl_setopt($ch, CURLOPT_URL, "https://login.microsoftonline.com/" . $tenantid . "/oauth2/token"); curl_setopt($ch, CURLOPT_POST, 1); $body = "resource=" . urlencode("https://management.core.windows.net/") . "&grant_type=client_credentials&client_id=" . $app_id . "&client_secret=" . urlencode($client_secret); @@ -1056,7 +1056,7 @@ log_error("no valid bearer token"); return false; } - // Update the DNS record + // Update the DNS record if ($this->_useIPv6) { $url = "https://management.azure.com" . $resourceid . "/AAAA/" . $hostname . "?api-version=2017-09-01"; $body = '{"properties":{"TTL":"' . $newttl . '", "AaaaRecords":[{"ipv6Address":"' . $newip . '"}]}}'; @@ -2049,7 +2049,7 @@ log_error($status_intro . gettext("PAYLOAD:") . " " . $http_code); $this->_debug($data); } - break; + break; default: break; } |