summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-26 14:54:23 +0200
committerOndrej Filip <feela@network.cz>2000-04-26 14:54:23 +0200
commitdfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99 (patch)
treebee849b2e5b275c64721f6a6bb541ce8e0d80619 /proto/ospf/topology.c
parent0cadd5f531a82578ea6323f730cf8204b755895f (diff)
downloadbird-dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99.tar
bird-dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99.zip
Routing table calculation. Dijkstra done.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 2200aa2..687b889 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -175,7 +175,7 @@ addifa_rtlsa(struct ospf_iface *ifa)
{
struct ospf_lsa_header *lsa;
- oa=mb_alloc(po->proto.pool, sizeof(struct ospf_area));
+ oa=mb_allocz(po->proto.pool, sizeof(struct ospf_area));
add_tail(&po->area_list,NODE oa);
oa->areaid=ifa->an;
oa->gr=ospf_top_new(po);