diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-02-13 23:11:04 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-02-13 23:11:04 +0545 |
commit | 3d72df5889d838068c97a00b87a972a0938cbfb5 (patch) | |
tree | 18731fe84a184cb9cbf3e25d27165b8f929edd99 /usr/local/www/widgets | |
parent | cb2b59b89b4d7fb6449c0f45d142302dd2029373 (diff) | |
download | pfsense-3d72df5889d838068c97a00b87a972a0938cbfb5.zip pfsense-3d72df5889d838068c97a00b87a972a0938cbfb5.tar.gz |
Correct filename for dyndns widget cached ip
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 2 |
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)); |