Revision 74f4a3cc
Added by Ermal LUÇI almost 12 years ago
etc/rc.newwanip | ||
---|---|---|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
/* make new hosts file */ |
123 |
if ($interface == "lan") |
|
124 |
system_hosts_generate(); |
|
123 |
system_hosts_generate(); |
|
125 | 124 |
|
126 | 125 |
/* check tunneled IPv6 interface tracking */ |
127 | 126 |
switch($config['interfaces'][$interface]['ipaddrv6']) { |
Also available in: Unified diff
On every ip change renew the hosts file