summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-30 19:57:06 +0200
committerOndrej Filip <feela@network.cz>2000-05-30 19:57:06 +0200
commit7e1c7efae2762752ef897bfa215b299127412b66 (patch)
tree305e1791acd70b7693b70d09686980a523cf138a /proto
parent3dd8f983b649c83f50d44ca2093ab1f931eaba4d (diff)
downloadbird-7e1c7efae2762752ef897bfa215b299127412b66.tar
bird-7e1c7efae2762752ef897bfa215b299127412b66.zip
Stupig bug in debugging.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/lsupd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index d306fd4..9eed7e5 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -359,8 +359,8 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
lsa->age=(htons(LSA_MAXAGE));
lsatmp.age=LSA_MAXAGE;
debug("%s: Premature aging self originated lsa.\n",p->name);
- debug("%s: Type: %d, Id: %I, Rt: %I\n", lsatmp.type, lsatmp.id,
- lsatmp.rt);
+ debug("%s: Type: %d, Id: %I, Rt: %I\n", p->name, lsatmp.type,
+ lsatmp.id, lsatmp.rt);
flood_lsa(NULL,lsa,&lsatmp,po,NULL,oa,0);
continue;
}
@@ -460,8 +460,8 @@ net_flush_lsa(struct top_hash_entry *en, struct proto_ospf *po,
lsa->age=LSA_MAXAGE;
debug("%s: Premature aging self originated lsa!\n",po->proto.name);
- debug("%s: Type: %d, Id: %I, Rt: %I\n", lsa->type, lsa->id,
- lsa->rt);
+ debug("%s: Type: %d, Id: %I, Rt: %I\n", po->proto.name, lsa->type,
+ lsa->id, lsa->rt);
flood_lsa(NULL,NULL,lsa,po,NULL,oa,0);
}