Merge pull request #413 from fabianfrz/frr_patch

copy the old patch to frr 0.0.1
This commit is contained in:
Fabian Franz, BSc
2017-12-05 18:19:12 +01:00
committed by GitHub
+16
View File
@@ -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
);
}
}
}