From 74f4a3cc82bfb186d2368fa68dd29258cf7add04 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 3 Jul 2013 13:37:48 +0000 Subject: [PATCH] On every ip change renew the hosts file --- etc/rc.newwanip | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 92d47dc684..ddae8c27a1 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']) {