typo fix
This commit is contained in:
parent
a4ceba9c2b
commit
17d31e4373
1 changed files with 2 additions and 2 deletions
4
ddclient
4
ddclient
|
@ -446,7 +446,7 @@ my %variables = (
|
||||||
'wildcard' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
'wildcard' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
||||||
'mx' => setv(T_OFQDN, 0, 1, 1, '', undef),
|
'mx' => setv(T_OFQDN, 0, 1, 1, '', undef),
|
||||||
'backupmx' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
'backupmx' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
||||||
'ttl' => setv(T_NUMBER, 1, 0, 1, 1 undef),
|
'ttl' => setv(T_NUMBER, 1, 0, 1, 1, undef),
|
||||||
},
|
},
|
||||||
'googledomains-common-defaults' => {
|
'googledomains-common-defaults' => {
|
||||||
'server' => setv(T_FQDNP, 1, 0, 1, 'domains.google.com', undef),
|
'server' => setv(T_FQDNP, 1, 0, 1, 'domains.google.com', undef),
|
||||||
|
@ -4112,7 +4112,7 @@ sub nic_cloudflare_update {
|
||||||
|
|
||||||
# Set domain
|
# Set domain
|
||||||
$url = "https://$config{$key}{'server'}/api_json.html?a=rec_edit&type=A";
|
$url = "https://$config{$key}{'server'}/api_json.html?a=rec_edit&type=A";
|
||||||
$url .= "$ttl=".$config{$key}{'ttl'};
|
$url .= "&ttl=".$config{$key}{'ttl'};
|
||||||
$url .= "&name=$hostname";
|
$url .= "&name=$hostname";
|
||||||
$url .= "&z=".$config{$key}{'zone'};
|
$url .= "&z=".$config{$key}{'zone'};
|
||||||
$url .= "&id=".$id;
|
$url .= "&id=".$id;
|
||||||
|
|
Loading…
Reference in a new issue