summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-15 23:16:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-15 23:16:20 +0000
commit7c80507f4ab8ad4241505447eb131169502e4ef3 (patch)
treed13f8c8b9daf2cf9403859ebd39f1c366d2400ca /etc/inc/dyndns.class
parentc43619d1c9c81ac1d4fc53689b1309f287137ef5 (diff)
downloadpfsense-7c80507f4ab8ad4241505447eb131169502e4ef3.zip
pfsense-7c80507f4ab8ad4241505447eb131169502e4ef3.tar.gz
Set time
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index ac15f98..c2153de 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -452,6 +452,7 @@
conf_mount_rw();
$file = fopen($this->_cacheFile, 'w');
$wan_ip = get_current_wan_address();
+ $currentTime = time();
fwrite($file, $wan_ip.':'.$currentTime);
fclose($file);
conf_mount_ro();
OpenPOWER on IntegriCloud