1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Implements MRTdump feature.

This commit is contained in:
Ondrej Zajicek
2010-01-03 12:17:52 +01:00
parent 610bb3cff0
commit cf31112f0d
19 changed files with 300 additions and 42 deletions

View File

@@ -433,9 +433,11 @@ originate_rt_lsa(struct ospf_area *oa)
#ifdef OSPFv2
lsa.options = oa->options;
#endif
lsa.id = po->router_id;
#else /* OSPFv3 */
lsa.id = 0;
#endif
lsa.rt = po->router_id;
lsa.sn = oa->rt ? (oa->rt->lsa.sn + 1) : LSA_INITSEQNO;
u32 dom = oa->areaid;