mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:57:45 +00:00
ospfd: more info in LSA checksum warning (BZ#685)
This commit is contained in:
parent
9206f9ecd5
commit
223da1a912
@ -1568,8 +1568,13 @@ ospf_ls_upd_list_lsa (struct ospf_neighbor *nbr, struct stream *s,
|
|||||||
sum = lsah->checksum;
|
sum = lsah->checksum;
|
||||||
if (sum != ospf_lsa_checksum (lsah))
|
if (sum != ospf_lsa_checksum (lsah))
|
||||||
{
|
{
|
||||||
zlog_warn ("Link State Update: LSA checksum error %x, %x.",
|
/* (bug #685) more details in a one-line message make it possible
|
||||||
sum, lsah->checksum);
|
* to identify problem source on the one hand and to have a better
|
||||||
|
* chance to compress repeated messages in syslog on the other */
|
||||||
|
zlog_warn ("Link State Update: LSA checksum error %x/%x, ID=%s from: nbr %s, router ID %s, adv router %s",
|
||||||
|
sum, lsah->checksum, inet_ntoa (lsah->id),
|
||||||
|
inet_ntoa (nbr->src), inet_ntoa (nbr->router_id),
|
||||||
|
inet_ntoa (lsah->adv_router));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user