From c43619d1c9c81ac1d4fc53689b1309f287137ef5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Dec 2005 23:06:18 +0000 Subject: Set $wan_ip --- etc/inc/dyndns.class | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.1