diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 5f0d99d..299c29c 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -1520,8 +1520,14 @@ ospf_ls_upd_list_lsa (struct ospf_neighbor *nbr, struct stream *s, sum = lsah->checksum; if (sum != ospf_lsa_checksum (lsah)) { - zlog_warn ("Link State Update: LSA checksum error %x, %x.", - sum, lsah->checksum); + zlog_warn ("Link State Update: LSA checksum error %x, %x\n", + "LSA header: age:0x%x, options:0x%x, type:0x%x\n" + "id:0x%x, adv_router:0x%x, ls_seqnum:0x%x, length:%d\n" + "oi->ifp->name:%s", + ntohs(sum), ntohs(lsah->checksum), + lsah->ls_age, lsah->options, lsah->type, + ntohl(lsah->id.s_addr), ntohl(lsah->adv_router.s_addr), + lsah->ls_seqnum, length, oi->ifp->name); continue; }