mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
Routing, gateways. minor regression in getDefaultGW() we should only return a gateway with an address as default here. for https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
e053087280
commit
bfca97e2e0
@ -266,8 +266,9 @@ class Gateways
|
||||
continue;
|
||||
} elseif (!empty($gateway['disabled'])) {
|
||||
continue;
|
||||
} elseif (!empty($gateway['gateway'])) {
|
||||
return $gateway;
|
||||
}
|
||||
return $gateway;
|
||||
}
|
||||
}
|
||||
// not found
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user