summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.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/lsalib.c
parent8a70a13e7e79afa6818b10cf64d4f1ae4cf89e4b (diff)
downloadbird-34a877ccac25d38172716d3d2488449c870cad0b.tar
bird-34a877ccac25d38172716d3d2488449c870cad0b.zip
Minor updates.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index deb3113..ab63398 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -14,7 +14,7 @@ flush_lsa(struct top_hash_entry *en, struct proto_ospf *po)
struct proto *p = &po->proto;
OSPF_TRACE(D_EVENTS,
- "Going to remove node Type: %u, Id: %R, Rt: %R, Age: %u, SN: 0x%x",
+ "Going to remove LSA Type: %04x, Id: %R, Rt: %R, Age: %u, Seqno: 0x%x",
en->lsa.type, en->lsa.id, en->lsa.rt, en->lsa.age, en->lsa.sn);
s_rem_node(SNODE en);
if (en->lsa_body != NULL)
@@ -143,6 +143,7 @@ ntohlsab(void *n, void *h, u16 type, u16 len)
hid[i] = ntohl(nid[i]);
}
+/*
void
buf_dump(const char *hdr, const byte *buf, int blen)
{
@@ -171,6 +172,7 @@ buf_dump(const char *hdr, const byte *buf, int blen)
*bp = 0;
log(L_WARN "%s\t%s", lhdr, b2);
}
+*/
#define MODX 4102 /* larges signed value without overflow */