summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-14 17:29:33 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-14 17:29:33 +0100
commit34a877ccac25d38172716d3d2488449c870cad0b (patch)
tree633e46d33ceab3d67f8c4b6427384930fca95777 /proto/ospf/ospf.c
parent8a70a13e7e79afa6818b10cf64d4f1ae4cf89e4b (diff)
downloadbird-34a877ccac25d38172716d3d2488449c870cad0b.tar
bird-34a877ccac25d38172716d3d2488449c870cad0b.zip
Minor updates.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c8
1 files changed, 4 insertions, 4 deletions
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, "");
}