summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-02 21:55:55 +0200
committerOndrej Filip <feela@network.cz>2000-06-02 21:55:55 +0200
commitb36a0a799c751864f65bc3384df301448b54f3bf (patch)
tree4aee12f80b50dee4c5e00ffb7bf6249a45f54990 /proto/ospf/ospf.c
parent7e602d5ea74206236373230a4620736370b3cc9c (diff)
downloadbird-b36a0a799c751864f65bc3384df301448b54f3bf.tar
bird-b36a0a799c751864f65bc3384df301448b54f3bf.zip
area {} added to config.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 62bab70..7de37bf 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -62,6 +62,7 @@ ospf_init(struct proto_config *c)
struct proto *p = proto_new(c, sizeof(struct proto_ospf));
struct proto_ospf *po=(struct proto_ospf *)p;
struct ospf_config *oc=(struct ospf_config *)c;
+ struct ospf_area_config *ac;
debug("OSPF: Init requested.\n");
p->import_control = ospf_import_control;
@@ -73,6 +74,10 @@ ospf_init(struct proto_config *c)
p->rte_same = ospf_rte_same;
po->rfc1583=oc->rfc1583;
+ WALK_LIST(ac, oc->area_list)
+ {
+ debug("OSPF: area: %I, stub=%u tick=%u\n", ac->areaid, ac->stub, ac->tick);
+ }
return p;
}