mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Another pile of ipa_from_u32() calls.
This commit is contained in:
@@ -15,7 +15,7 @@ flush_lsa(struct top_hash_entry *en, struct proto_ospf *po)
|
||||
|
||||
OSPF_TRACE(D_EVENTS,
|
||||
"Going to remove node Type: %u, Id: %I, Rt: %I, Age: %u, SN: 0x%x",
|
||||
en->lsa.type, en->lsa.id, en->lsa.rt, en->lsa.age, en->lsa.sn);
|
||||
en->lsa.type, ipa_from_u32(en->lsa.id), ipa_from_u32(en->lsa.rt), en->lsa.age, en->lsa.sn);
|
||||
s_rem_node(SNODE en);
|
||||
if (en->lsa_body != NULL)
|
||||
mb_free(en->lsa_body);
|
||||
@@ -56,8 +56,8 @@ ospf_age(struct proto_ospf *po)
|
||||
en->nhi = NULL;
|
||||
en->nh = IPA_NONE;
|
||||
en->lb = IPA_NONE;
|
||||
DBG("Infinitying Type: %u, Id: %I, Rt: %I\n", en->lsa.type, en->lsa.id,
|
||||
en->lsa.rt);
|
||||
DBG("Infinitying Type: %u, Id: %I, Rt: %I\n", en->lsa.type,
|
||||
ipa_from_u32(en->lsa.id), ipa_from_u32(en->lsa.rt));
|
||||
}
|
||||
if (en->lsa.age == LSA_MAXAGE)
|
||||
{
|
||||
@@ -69,7 +69,7 @@ ospf_age(struct proto_ospf *po)
|
||||
LSREFRESHTIME))
|
||||
{
|
||||
OSPF_TRACE(D_EVENTS, "Refreshing my LSA: Type: %u, Id: %I, Rt: %I",
|
||||
en->lsa.type, en->lsa.id, en->lsa.rt);
|
||||
en->lsa.type, ipa_from_u32(en->lsa.id), ipa_from_u32(en->lsa.rt));
|
||||
en->lsa.sn++;
|
||||
en->lsa.age = 0;
|
||||
en->inst_t = now;
|
||||
@@ -460,7 +460,8 @@ lsa_install_new(struct ospf_lsa_header *lsa, void *body, struct ospf_area *oa)
|
||||
}
|
||||
|
||||
DBG("Inst lsa: Id: %I, Rt: %I, Type: %u, Age: %u, Sum: %u, Sn: 0x%x\n",
|
||||
lsa->id, lsa->rt, lsa->type, lsa->age, lsa->checksum, lsa->sn);
|
||||
ipa_from_u32(lsa->id), ipa_from_u32(lsa->rt),
|
||||
lsa->type, lsa->age, lsa->checksum, lsa->sn);
|
||||
|
||||
s_add_tail(&po->lsal, SNODE en);
|
||||
en->inst_t = now;
|
||||
|
Reference in New Issue
Block a user