mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/quagga: EoL, just fix iterator
This commit is contained in:
parent
c10e3b4a02
commit
be4d502bfd
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ function quagga_firewall($fw)
|
|||
{
|
||||
if (ospfd_enabled()) {
|
||||
$ospf = new \OPNsense\Quagga\OSPF();
|
||||
foreach ($ospf->networks->network->__items as $network) {
|
||||
foreach ($ospf->networks->network->iterateItems() as $network) {
|
||||
if ((string)$network->enabled == '1') {
|
||||
$fw->registerFilterRule(
|
||||
1, /* priority */
|
||||
|
|
|
|||
Loading…
Reference in a new issue