ospf: Reduce MaxAge log level
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>
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index ede5908..d79df53 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -1834,8 +1834,11 @@
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);
}