mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
interfaces: copy+paste fail in refactor of scoped IPv6 acquire
PR: https://forum.opnsense.org/index.php?topic=25162.0
This commit is contained in:
parent
1c34b86cb5
commit
bf2b1efa73
@ -4633,7 +4633,7 @@ function interfaces_scoped_address6($interface, $ifconfig_details = null)
|
||||
$ifcfgipv6 = $networkv6 = $subnetbitsv6 = null;
|
||||
|
||||
foreach (interfaces_addresses($interface, false, $ifconfig_details) as $addr) {
|
||||
if ($addr['family'] != 'inet6' || $addr['deprecated'] || $addr['tentative'] || $addr['alias'] || $addr['scope']) {
|
||||
if ($addr['family'] != 'inet6' || $addr['deprecated'] || $addr['tentative'] || $addr['alias'] || !$addr['scope']) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user