Gateways, since we return empty gateways for dynamic ipv6 entries, we should also permit those as default gateway. could be https://github.com/opnsense/core/issues/3604

This commit is contained in:
Ad Schellevis 2019-08-02 10:23:00 +02:00
parent 3b865f337f
commit a6264e5062

View File

@ -276,7 +276,7 @@ class Gateways
continue;
} elseif (!empty($gateway['disabled']) || !empty($gateway['is_loopback'])) {
continue;
} elseif (!empty($gateway['gateway'])) {
} else {
return $gateway;
}
}