diff options
author | Ermal <eri@pfsense.org> | 2013-07-03 13:37:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-07-03 13:37:48 +0000 |
commit | c9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2 (patch) | |
tree | 1170ff45bc8ef995f976884ee598099fdd4aac3c /etc/rc.newwanip | |
parent | 84f7e98c519a6a01f0c8a4c0d8c8772ec830eae2 (diff) | |
download | pfsense-c9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2.zip pfsense-c9065c1ef6e6bb7c2e9c0f0f470a788a25d1c1c2.tar.gz |
On every ip change renew the hosts file
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 3 |
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']) { |