From: Ayan Banerjee Date: Tue, 4 Dec 2012 18:49:12 +0000 (-0800) Subject: ospf: Reduce MaxAge log level X-Git-Tag: frr-2.0-rc1~1724^2~12 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=faf9875832539f00940904e1424f2e789fef52d4;p=matthieu%2Ffrr.git 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 Reviewed-by: Scott Feldman Reviewed-by: Nolan Leake Signed-off-by: Scott Feldman --- diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index ede59088cc..d79df53543 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -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); }