From b36a0a799c751864f65bc3384df301448b54f3bf Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 2 Jun 2000 19:55:55 +0000 Subject: area {} added to config. --- proto/ospf/ospf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proto/ospf/ospf.c') diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 62bab70f..7de37bf0 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; } -- cgit v1.2.3