mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Implements protocol-specific Router ID for OSPF.
And fixes one minor bug.
This commit is contained in:
@@ -65,8 +65,7 @@ ospf_age(struct proto_ospf *po)
|
||||
flush_lsa(en, po);
|
||||
continue;
|
||||
}
|
||||
if ((en->lsa.rt == p->cf->global->router_id) &&
|
||||
(en->lsa.age >= LSREFRESHTIME))
|
||||
if ((en->lsa.rt == po->router_id) && (en->lsa.age >= LSREFRESHTIME))
|
||||
{
|
||||
OSPF_TRACE(D_EVENTS, "Refreshing my LSA: Type: %u, Id: %R, Rt: %R",
|
||||
en->lsa.type, en->lsa.id, en->lsa.rt);
|
||||
|
Reference in New Issue
Block a user