mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
newwanipv6 - revert ipv6 from 8c49c7bfdd as discussed
This commit is contained in:
parent
797c186419
commit
64227e7cb0
@ -84,9 +84,8 @@ system_hosts_generate();
|
||||
|
||||
$cacheip_file = "/tmp/{$interface_real}_oldipv6";
|
||||
$cacheip = trim(@file_get_contents($cacheip_file));
|
||||
$intf_ipaddr = $config['interfaces'][$interface]['ipaddrv6'];
|
||||
|
||||
if ($ip != $cacheip || (!is_ipaddr($intf_ipaddr) && $intf_ipaddr != 'dhcp6')) {
|
||||
if ($ip != $cacheip || !is_ipaddr($config['interfaces'][$interface]['ipaddrv6'])) {
|
||||
if ($ip == $cacheip) {
|
||||
if (in_array($config['interfaces'][$interface]['ipaddr'], array('l2tp', 'ppp', 'pppoe', 'pptp'))) {
|
||||
/* PPP reconnect loop avoidance */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user