Skip to content

Commit

Permalink
phpDynDNS.inc: Fix missing break statement in switch case for Linode
Browse files Browse the repository at this point in the history
Commit ab0ccc3 seems to have mistakenly
removed the `break` statement for the `switch` case for Linode. This
commit adds it back, which fixes dynamic DNS updates for Linode.

Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong authored and fichtner committed Feb 25, 2020
1 parent c5a1daa commit 8436443
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
* dynv6 v6 - Last Tested: 25 June 2019
* DigitalOcean - Last Tested: 25 June 2019
* Azure DNS - Last Tested: 16 October 2019
* Linode - Last Tested: 12 November 2019
* Linode v6 - Last Tested: 12 November 2019
* Linode - Last Tested: 25 February 2020
* Linode v6 - Last Tested: 25 February 2020
* +====================================================+
*
* @author E.Kristensen
Expand Down Expand Up @@ -990,6 +990,7 @@ class updatedns
} else {
log_error("Dynamic DNS($fqdn): No zone found for domain");
}
break;
case 'azurev6':
case 'azure':
$hostname = "{$this->_dnsHost}";
Expand Down

0 comments on commit 8436443

Please sign in to comment.