dyndns: add URL with good info, small typo

This commit is contained in:
Franco Fichtner 2017-05-26 08:08:41 +02:00
parent 12810d9440
commit bb80ad0296
2 changed files with 7 additions and 1 deletions

View File

@ -89,6 +89,12 @@ function dyndns_cron()
function dyndns_list()
{
/*
* XXX something like this would be cool:
*
* https://github.com/openwrt/packages/blob/master/net/ddns-scripts/files/services
*/
return array(
'3322' => '3322',
'citynetwork' => 'City Network',

View File

@ -1092,7 +1092,7 @@ class updatedns {
$status = "Dynamic DNS: (Success) No change in IP address";
$successful_update = true;
} elseif (preg_match('/good/i', $data)) {
$status = "Dynamic DNS: (Success) IP Address updated successfully ({$this->_dnsIP})";
$status = "Dynamic DNS: (Success) IP address updated successfully ({$this->_dnsIP})";
$successful_update = true;
} elseif (preg_match('/badauth/i', $data)) {
$status = "Dynamic DNS: (Error) Authentication failed";