summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/dyn_dns_status.widget.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/widgets/widgets/dyn_dns_status.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/dyn_dns_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php
index e91ecba..da6480f 100644
--- a/usr/local/www/widgets/widgets/dyn_dns_status.widget.php
+++ b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php
@@ -103,7 +103,7 @@ function dyndnsCheckIP($int) {
</td>
<td class="listlr">
<?php
- $filename = "{$g['conf_path']}/dyndns_{$if}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . ".cache";
+ $filename = "{$g['conf_path']}/dyndns_{$if}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . "{$dyndns['id']}.cache";
$ipaddr = dyndnsCheckIP($if);
if(file_exists($filename)) {
$cached_ip_s = split(":", file_get_contents($filename));
OpenPOWER on IntegriCloud