summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 92d47dc..ddae8c2 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -120,8 +120,7 @@ if ($linkupevent == false || substr($interface_real, 0, 4) == "ovpn") {
}
/* make new hosts file */
-if ($interface == "lan")
- system_hosts_generate();
+system_hosts_generate();
/* check tunneled IPv6 interface tracking */
switch($config['interfaces'][$interface]['ipaddrv6']) {
OpenPOWER on IntegriCloud