summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorAyan Banerjee <ayan@cumulusnetworks.com>2012-12-04 10:49:12 -0800
committerScott Feldman <sfeldma@cumulusnetworks.com>2013-01-07 09:59:45 -0800
commitfaf9875832539f00940904e1424f2e789fef52d4 (patch)
treeebf2d85a78f96b5d7b2e2a8eab7d3ad07b484af6 /ospfd
parent91e6a0e5ca973c7183f638987b67aa370e9b484c (diff)
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>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_packet.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index ede59088..d79df535 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);
}