Commit bb80ad02 authored by Franco Fichtner's avatar Franco Fichtner

dyndns: add URL with good info, small typo

parent 12810d94
......@@ -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',
......
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment