dyndns2: Honor http:
or https:
scheme in server
variable
or fall back to the value of the `ssl` variable if no `http:` or `https:` scheme is present.
This commit is contained in:
parent
a7fef2e1eb
commit
c31668b413
2 changed files with 5 additions and 2 deletions
|
@ -62,6 +62,10 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
|
|||
address changes. [#654](https://github.com/ddclient/ddclient/pull/654)
|
||||
* `he.net`: Added support for updating Hurricane Electric records.
|
||||
[#682](https://github.com/ddclient/ddclient/pull/682)
|
||||
* `dyndns2`: The `server` option can now include `http://` or `https://` to
|
||||
control the use of TLS. If omitted, the value of the `ssl` option is used
|
||||
to determine the scheme.
|
||||
[#703](https://github.com/ddclient/ddclient/pull/703)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
|
|
@ -4072,8 +4072,7 @@ sub nic_dyndns2_update {
|
|||
info("setting IPv4 address to %s for %s", $ipv4, $hosts) if $ipv4;
|
||||
info("setting IPv6 address to %s for %s", $ipv6, $hosts) if $ipv6;
|
||||
verbose("UPDATE:", "updating %s", $hosts);
|
||||
## Select the DynDNS system to update
|
||||
my $url = "http://$groupcfg{'server'}$groupcfg{'script'}?system=";
|
||||
my $url = "$groupcfg{'server'}$groupcfg{'script'}?system=";
|
||||
if ($groupcfg{'custom'}) {
|
||||
warning("updating %s: 'custom' and 'static' may not be used together. ('static' ignored)", $hosts)
|
||||
if $groupcfg{'static'};
|
||||
|
|
Loading…
Reference in a new issue