summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 18:00:09 +0200
committerOndrej Filip <feela@network.cz>2004-06-06 18:00:09 +0200
commitb8f17cf1923ff5894b6689479f7fb7d008b8ce44 (patch)
tree1292dfde38521bcc67a623054f386e4d1b927796 /proto/ospf/topology.c
parentd631698ec8a63270f7ca9bc069508d1313a08f92 (diff)
downloadbird-b8f17cf1923ff5894b6689479f7fb7d008b8ce44.tar
bird-b8f17cf1923ff5894b6689479f7fb7d008b8ce44.zip
Small cleanup, indentation and preparation for multiple areas routing table calculation.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index a80ca3d..295b6ca 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -202,7 +202,7 @@ originate_rt_lsa(struct ospf_area *oa)
en = lsa_install_new(&lsa, body, oa);
oa->rt = en;
ospf_lsupd_flood(NULL, NULL, &oa->rt->lsa, NULL, oa, 1);
- schedule_rtcalc(oa);
+ schedule_rtcalc(po);
oa->origrt = 0;
}
@@ -275,7 +275,7 @@ originate_net_lsa(struct ospf_iface *ifa)
mb_free(ifa->nlsa->lsa_body);
ifa->nlsa->lsa_body = NULL;
ospf_hash_delete(ifa->oa->gr, ifa->nlsa);
- schedule_rtcalc(ifa->oa);
+ schedule_rtcalc(po);
ifa->nlsa = NULL;
return;
}