summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-14 00:36:31 +0100
committerOndrej Filip <feela@network.cz>2005-02-14 00:36:31 +0100
commit5d3f555234d7144272e3081665411d098280d5ad (patch)
tree24383496aa4fe4db700dc58ed3ed841c8069399d /proto/ospf/packet.c
parent0d3effcf8ca3784c36ce6229343ddfd754e405dc (diff)
downloadbird-5d3f555234d7144272e3081665411d098280d5ad.tar
bird-5d3f555234d7144272e3081665411d098280d5ad.zip
Many bugfixes in routing table calculation and summary LSA origination.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index f6b68fd..6a334d0 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -149,7 +149,8 @@ ospf_pkt_checkauth(struct ospf_neighbor *n, struct ospf_iface *ifa, struct ospf_
}
if (ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE != size)
{
- OSPF_TRACE(D_PACKETS, "OSPF_auth: size mismatch");
+ OSPF_TRACE(D_PACKETS, "OSPF_auth: size mismatch (%d vs %s)",
+ ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE, size);
return 0;
}
@@ -356,7 +357,7 @@ ospf_tx_hook(sock * sk)
{
struct ospf_iface *ifa= (struct ospf_iface *) (sk->data);
struct proto *p = (struct proto *) (ifa->oa->po);
- DBG("%s: TX_Hook called on interface %s\n", p->name, sk->iface->name);
+ log(L_ERR "%s: TX_Hook called on interface %s\n", p->name, sk->iface->name);
}
void
@@ -364,7 +365,7 @@ ospf_err_hook(sock * sk, int err UNUSED)
{
struct ospf_iface *ifa= (struct ospf_iface *) (sk->data);
struct proto *p = (struct proto *) (ifa->oa->po);
- DBG("%s: Err_Hook called on interface %s\n", p->name, sk->iface->name);
+ log(L_ERR "%s: Err_Hook called on interface %s\n", p->name, sk->iface->name);
}
void