diff options
author | Ermal <eri@pfsense.org> | 2010-04-27 20:50:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-27 20:50:28 +0000 |
commit | 461c0a1a4dde2b3ae1e350db581d1837554eb515 (patch) | |
tree | c69de146f8a9b4a01c73eb3bea4e83c790c864f0 /etc/rc.newwanip | |
parent | 40655051c8c67b5d37868f1ff0ae7fcfb0dd1d0f (diff) | |
download | pfsense-461c0a1a4dde2b3ae1e350db581d1837554eb515.zip pfsense-461c0a1a4dde2b3ae1e350db581d1837554eb515.tar.gz |
Ticket #449. Actually save something to read back.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 32c85e8..95d44a3 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -79,6 +79,7 @@ services_dnsupdate_process($interface); /* write current WAN IP to file */ file_put_contents("{$g['vardb_path']}/{$interface}_ip", $curwanip); +file_put_contents("{$g['vardb_path']}/{$interface}_cacheip", $curwanip); if (is_ipaddr($oldip) && $curwanip == $oldip) exit; |