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-03 13:37:48 +0000
commitc9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2 (patch)
tree1170ff45bc8ef995f976884ee598099fdd4aac3c /etc/rc.newwanip
parent84f7e98c519a6a01f0c8a4c0d8c8772ec830eae2 (diff)
downloadpfsense-c9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2.zip
pfsense-c9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2.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