summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-15 23:06:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-15 23:06:18 +0000
commitc43619d1c9c81ac1d4fc53689b1309f287137ef5 (patch)
treeaccef7b74926772703f67556737b020496754186 /etc/inc/dyndns.class
parent06e380d75cce4a95826d61a483731adc5052e7bb (diff)
downloadpfsense-c43619d1c9c81ac1d4fc53689b1309f287137ef5.zip
pfsense-c43619d1c9c81ac1d4fc53689b1309f287137ef5.tar.gz
Set $wan_ip
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 db015cc..ac15f98 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -451,6 +451,7 @@
log_error("phpDynDNS: updating cache file {$this->_cacheFile}: {$wan_ip}");
conf_mount_rw();
$file = fopen($this->_cacheFile, 'w');
+ $wan_ip = get_current_wan_address();
fwrite($file, $wan_ip.':'.$currentTime);
fclose($file);
conf_mount_ro();
OpenPOWER on IntegriCloud