From 38f6f50a84e78eddbe4d639914422789ad0057d5 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Tue, 20 May 2014 22:57:38 -0500 Subject: fix variable typo. ticket #3669 --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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 */ -- cgit v1.1