diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-26 12:54:23 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-26 12:54:23 +0000 |
commit | dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99 (patch) | |
tree | bee849b2e5b275c64721f6a6bb541ce8e0d80619 /proto/ospf/topology.c | |
parent | 0cadd5f531a82578ea6323f730cf8204b755895f (diff) |
Routing table calculation. Dijkstra done.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r-- | proto/ospf/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 2200aa21..687b889e 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); |