summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 9ff0f22..aa81b45 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -76,6 +76,10 @@ if ($_POST) {
unset($input_errors);
$pconfig = $_POST;
+ if($pconfig['type'] == "freedns") {
+ $_POST['username'] = "free";
+ $_POST['password'] = "dns";
+ }
/* input validation */
$reqdfields = array();
@@ -106,6 +110,11 @@ if ($_POST) {
$dyndns['interface'] = $_POST['interface'];
$dyndns['descr'] = $_POST['descr'];
+ if($dyndns['type'] == "freedns") {
+ $dyndns['username'] = "";
+ $dyndns['password'] = "";
+ }
+
if (isset($id) && $a_dyndns[$id])
$a_dyndns[$id] = $dyndns;
else
@@ -187,6 +196,8 @@ include("head.inc");
<span class="red"><strong><?=gettext("Note:");?><br></strong>
</span>
<?=gettext("Enter the complete host/domain name. example: myhost.dyndns.org");?>
+ <br/>
+ <?=gettext("FreeDNS (freedns.afraid.org): Enter your \"Authentication Token\" provided by FreeDNS.");?>
</span>
</td>
</tr>
OpenPOWER on IntegriCloud