]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf: Reduce MaxAge log level
authorAyan Banerjee <ayan@cumulusnetworks.com>
Tue, 4 Dec 2012 18:49:12 +0000 (10:49 -0800)
committerScott Feldman <sfeldma@cumulusnetworks.com>
Mon, 7 Jan 2013 17:59:45 +0000 (09:59 -0800)
Reduce the log level for the MaxAge LSA reception when such an LSA does
not exist in the database.

Signed-off-by: Ayan Banerjee <ayan@cumulusnetworks.com>
Reviewed-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Reviewed-by: Nolan Leake <nolan@cumulusnetworks.com>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
ospfd/ospf_packet.c

index ede59088ccb8b3df2cab2c3b8f33956ac8d86651..d79df53543921a67ca7dcbf96f66c8256f140ec7 100644 (file)
@@ -1834,8 +1834,11 @@ ospf_ls_upd (struct ip *iph, struct ospf_header *ospfh,
          ospf_ls_ack_send (nbr, lsa);
 
          /* Discard LSA. */      
-         zlog_info ("Link State Update[%s]: LS age is equal to MaxAge.",
-                    dump_lsa_key(lsa));
+          if (IS_DEBUG_OSPF (lsa, LSA))
+            {
+              zlog_debug ("Link State Update[%s]: LS age is equal to MaxAge.",
+                           dump_lsa_key(lsa));
+            }
           DISCARD_LSA (lsa, 3);
        }