mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Small bugfix in tracing.
This commit is contained in:
parent
94c42054ea
commit
f39e3bfdbf
@ -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)
|
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);
|
ntohs(pkt->length) + OSPF_AUTH_CRYPT_SIZE, size);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user