diff options
author | Ondrej Filip <feela@network.cz> | 2005-03-16 00:42:41 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-03-16 00:42:41 +0100 |
commit | f39e3bfdbff318b3a889f42acfb589e9dfd34c2f (patch) | |
tree | a8b6f1682ed292c891bca51e5551445961ed9cf8 /proto | |
parent | 94c42054ea65d10477afc76f221e3ac345a431eb (diff) | |
download | bird-f39e3bfdbff318b3a889f42acfb589e9dfd34c2f.tar bird-f39e3bfdbff318b3a889f42acfb589e9dfd34c2f.zip |
Small bugfix in tracing.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index eba4bc2..ead4b86 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; } |