From ee79adcc914e10c3c096703c0c6c3894568cfbd0 Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Tue, 5 Dec 2017 18:06:25 +0100 Subject: [PATCH] copy the old patch to frr 0.0.1 --- net/frr/src/etc/inc/plugins.inc.d/frr.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/net/frr/src/etc/inc/plugins.inc.d/frr.inc b/net/frr/src/etc/inc/plugins.inc.d/frr.inc index 59fd0db9a..d6e04540f 100644 --- a/net/frr/src/etc/inc/plugins.inc.d/frr.inc +++ b/net/frr/src/etc/inc/plugins.inc.d/frr.inc @@ -58,6 +58,22 @@ function frr_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 + ); } } }