summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 806a75c..eadfe8f 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -188,7 +188,7 @@ if (!is_ipaddr($oldip) || $curwanip != $oldip || !is_ipaddrv4($config['interface
/* reconfigure our gateway monitor */
setup_gateways_monitor();
- if (is_ipaddr($curnwanip))
+ if (is_ipaddr($curwanip))
@file_put_contents("{$g['vardb_path']}/{$interface}_cacheip", $curwanip);
/* perform RFC 2136 DNS update */
OpenPOWER on IntegriCloud