summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-07-03 13:37:48 +0000
committerErmal <eri@pfsense.org>2013-07-04 06:58:06 +0000
commit74f4a3cc82bfb186d2368fa68dd29258cf7add04 (patch)
treedebcf25145b1f14abbca659a48941acb8c4c5c0f /etc/rc.newwanip
parentac086c621fa30c95e7da0b034bebbd8c8328878a (diff)
downloadpfsense-74f4a3cc82bfb186d2368fa68dd29258cf7add04.zip
pfsense-74f4a3cc82bfb186d2368fa68dd29258cf7add04.tar.gz
On every ip change renew the hosts file
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