summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/dyn_dns_status.widget.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-02-13 23:11:04 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-02-13 23:11:04 +0545
commit3d72df5889d838068c97a00b87a972a0938cbfb5 (patch)
tree18731fe84a184cb9cbf3e25d27165b8f929edd99 /usr/local/www/widgets/widgets/dyn_dns_status.widget.php
parentcb2b59b89b4d7fb6449c0f45d142302dd2029373 (diff)
downloadpfsense-3d72df5889d838068c97a00b87a972a0938cbfb5.zip
pfsense-3d72df5889d838068c97a00b87a972a0938cbfb5.tar.gz
Correct filename for dyndns widget cached ip
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