diff options
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index de1de2e..46c41fe 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -191,7 +191,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 */ |