diff --git a/net/quagga/src/etc/inc/plugins.inc.d/quagga.inc b/net/quagga/src/etc/inc/plugins.inc.d/quagga.inc index 442ecd285..5e1941e19 100644 --- a/net/quagga/src/etc/inc/plugins.inc.d/quagga.inc +++ b/net/quagga/src/etc/inc/plugins.inc.d/quagga.inc @@ -58,6 +58,22 @@ function quagga_firewall($fw) ), null ); + $fw->registerFilterRule( + 1, /* priority */ + array( + 'ipprotocol' => 'inet', + 'protocol' => 'ospf', + 'statetype' => 'keep', + 'label' => 'Pass OSPF UNICAST (autogenerated)', + 'from' => $network->ipaddr . '/' . $network->netmask, + 'to' => '(self)', + 'direction' => 'in', + 'type' => 'pass', + 'disablereplyto' => 1, + 'quick' => true + ), + null + ); } } }