On every ip change renew the hosts file

This commit is contained in:
Ermal 2013-07-03 13:37:48 +00:00
parent ac086c621f
commit 74f4a3cc82

View File

@ -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']) {