Revision 89c7e448
Added by Viktor Gurov over 4 years ago
src/etc/inc/interfaces.inc | ||
---|---|---|
6800 | 6800 |
if (is_ipaddrv6($ip) && !is_linklocal($ip)) { |
6801 | 6801 |
if (is_array($vips) && !empty($vips)) { |
6802 | 6802 |
foreach ($vips as $vip) { |
6803 |
if ($ip != text_to_compressed_ip6($vip)) {
|
|
6804 |
return array($ip, $bits);
|
|
6803 |
if ($ip == text_to_compressed_ip6($vip)) {
|
|
6804 |
continue 2;
|
|
6805 | 6805 |
} |
6806 | 6806 |
} |
6807 |
} else { |
|
6808 |
return array($ip, $bits); |
|
6809 | 6807 |
} |
6808 |
return array($ip, $bits); |
|
6810 | 6809 |
} |
6811 | 6810 |
} |
6812 | 6811 |
return false; |
Also available in: Unified diff
Return correct Track IPv6 address if >1 VIP on interface. Issue #5999