diff options
author | Jim P <jim@pingle.org> | 2013-02-13 09:34:46 -0800 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2013-02-13 09:34:46 -0800 |
commit | 87613be46dc1909e173cd8194f08e5364b5699ac (patch) | |
tree | 18731fe84a184cb9cbf3e25d27165b8f929edd99 | |
parent | cb2b59b89b4d7fb6449c0f45d142302dd2029373 (diff) | |
parent | 3d72df5889d838068c97a00b87a972a0938cbfb5 (diff) | |
download | pfsense-87613be46dc1909e173cd8194f08e5364b5699ac.zip pfsense-87613be46dc1909e173cd8194f08e5364b5699ac.tar.gz |
Merge pull request #414 from phil-davis/master
Correct filename for dyndns widget cached ip
-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)); |