From: Ondrej Filip Date: Tue, 15 Mar 2005 23:42:41 +0000 (+0000) Subject: Small bugfix in tracing. X-Git-Tag: v1.2.0~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39e3bfdbff318b3a889f42acfb589e9dfd34c2f;p=thirdparty%2Fbird.git Small bugfix in tracing. --- diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index eba4bc22f..ead4b86f9 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; }