diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-15 23:06:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-15 23:06:18 +0000 |
commit | c43619d1c9c81ac1d4fc53689b1309f287137ef5 (patch) | |
tree | accef7b74926772703f67556737b020496754186 /etc | |
parent | 06e380d75cce4a95826d61a483731adc5052e7bb (diff) | |
download | pfsense-c43619d1c9c81ac1d4fc53689b1309f287137ef5.zip pfsense-c43619d1c9c81ac1d4fc53689b1309f287137ef5.tar.gz |
Set $wan_ip
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/dyndns.class | 1 |
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(); |