Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766846
en ru br
ALT Linux repos
S:1.2.4-alt5
5.0: 0.99.11-alt3
4.1: 0.99.18-alt0.M41.2
4.0: 0.99.18-alt0.M40.1
3.0:
+backports:0.99.9-alt0.M30.4

Group :: Networking/Other
RPM: quagga

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: quagga-ospfd-log.diff
Download


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;
 	}
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin