summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-03-15 23:42:41 +0000
committerOndrej Filip <feela@network.cz>2005-03-15 23:42:41 +0000
commitf39e3bfdbff318b3a889f42acfb589e9dfd34c2f (patch)
treea8b6f1682ed292c891bca51e5551445961ed9cf8 /proto
parent94c42054ea65d10477afc76f221e3ac345a431eb (diff)
Small bugfix in tracing.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index eba4bc22..ead4b86f 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -149,7 +149,7 @@ 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 (%d vs %s)",
+ OSPF_TRACE(D_PACKETS, "OSPF_auth: size mismatch (%d vs %d)",
ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE, size);
return 0;
}