diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-05 20:57:53 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-05 20:57:53 +0000 |
commit | 3b580a23ad32e8445c419932d6f7715cdc2a0687 (patch) | |
tree | f8d413cd472702e11b54496a34db123342742a35 /proto/ospf/ospf.c | |
parent | f1aa23d4b3949ccd7c86f9a4e87eda63149b5f6d (diff) |
Bugfix in NET LSA flushing.
Configuration now works! :-)
Better "show ospf"
Some minor bugfixes.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 9bb0388b..1fcd691a 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -75,14 +75,6 @@ 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); - WALK_LIST(patt, ac->patt_list) - debug("Patt cost=%d hello=%d ret=%d\n",patt->cost, patt->helloint, - patt->rxmtint); - } - return p; } @@ -425,10 +417,12 @@ ospf_sh(struct proto *p) if(n->state==NEIGHBOR_FULL) adjno++; } } - cli_msg(-1014,"\t\tNumber of interfaces: %u", ifano); - cli_msg(-1014,"\t\tNumber of LSAs: %u", oa->gr->hash_entries); - cli_msg(-1014,"\t\tNumber of neighbors: %u", nno); - cli_msg(-1014,"\t\tNumber of fully adjacent neighbors: %u", adjno); + cli_msg(-1014,"\t\tStub:\t%s", oa->stub ? "Yes" : "No"); + cli_msg(-1014,"\t\tRT scheduler tick:\t%u", oa->tick); + cli_msg(-1014,"\t\tNumber of interfaces:\t%u", ifano); + cli_msg(-1014,"\t\tNumber of LSAs in DB:\t%u", oa->gr->hash_entries); + cli_msg(-1014,"\t\tNumber of neighbors:\t%u", nno); + cli_msg(-1014,"\t\tNumber of adjacent neighbors:\t%u", adjno); } cli_msg(0,""); } |