summaryrefslogtreecommitdiff
path: root/ddns.php
diff options
context:
space:
mode:
Diffstat (limited to 'ddns.php')
-rw-r--r--ddns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddns.php b/ddns.php
index 7437a9f..a1aa980 100644
--- a/ddns.php
+++ b/ddns.php
@@ -83,7 +83,7 @@
if (array_key_exists('address', $_GET))
$ips = explode(',', $_GET['address']);
else
- $ips[0] = 'auto';
+ $ips = array('auto');
foreach ($ips as $i => $ip)
if ($ip == 'auto')