From 34a877ccac25d38172716d3d2488449c870cad0b Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 14 Dec 2009 17:29:33 +0100 Subject: Minor updates. --- proto/ospf/ospf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto/ospf/ospf.c') diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 1befb7d..4c2f1c2 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -117,9 +117,9 @@ ospf_start(struct proto *p) struct ospf_area_config *ac; struct ospf_area *oa; + po->router_id = proto_get_router_id(p->cf); po->rfc1583 = c->rfc1583; po->ebit = 0; - po->tick = c->tick; po->disp_timer = tm_new(p->pool); po->disp_timer->data = po; @@ -1527,15 +1527,15 @@ ospf_sh_lsadb(struct proto *p) #endif } cli_msg(-1017, ""); - cli_msg(-1017," Router ID LS ID Type Age Sequence Checksum"); + cli_msg(-1017," Type LS ID Router Age Sequence Checksum"); last_dscope = dscope; last_domain = hea[i]->domain; } - cli_msg(-1017,"%-15R %-15R 0x%04x %5u 0x%08x 0x%04x", - lsa->rt, lsa->id, lsa->type, lsa->age, lsa->sn, lsa->checksum); + cli_msg(-1017," %04x %-15R %-15R %5u %08x %04x", + lsa->type, lsa->id, lsa->rt, lsa->age, lsa->sn, lsa->checksum); } cli_msg(0, ""); } -- cgit v1.2.3