mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
Gateways, IPv6. dynamic gateways without a valid address should have been added to the list, empty($thisconf['dynamic']) doesn't exist in this scope.
This unhides ipv6 gateways which didn't receive an address via rtsold
This commit is contained in:
parent
7edd851e20
commit
f8bd7102c4
@ -245,7 +245,7 @@ class Gateways
|
||||
// gateway should only contain a valid address, make sure its empty
|
||||
unset($thisconf['gateway']);
|
||||
$this->cached_gateways[$gwkey] = $thisconf;
|
||||
} elseif (empty($thisconf['dynamic'])) {
|
||||
} elseif (!empty($thisconf['dynamic'])) {
|
||||
$gwkey = $this->newKey($thisconf['priority'], !empty($thisconf['defaultgw']));
|
||||
// gateway should only contain a valid address, make sure its empty
|
||||
unset($thisconf['gateway']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user