diff options
author | Ermal <eri@pfsense.org> | 2013-07-03 13:37:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-07-04 06:58:06 +0000 |
commit | 74f4a3cc82bfb186d2368fa68dd29258cf7add04 (patch) | |
tree | debcf25145b1f14abbca659a48941acb8c4c5c0f /etc/rc.newwanip | |
parent | ac086c621fa30c95e7da0b034bebbd8c8328878a (diff) | |
download | pfsense-74f4a3cc82bfb186d2368fa68dd29258cf7add04.zip pfsense-74f4a3cc82bfb186d2368fa68dd29258cf7add04.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']) { |