From 7ddf1d6eaf5a339d13661469212ac33f77e808fc Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 13 Oct 2003 09:06:46 +0000 Subject: 2003-10-13 sowmini.varadhan@sun.com * ospf_lsa.h: Add OSPF_LSA_PREMATURE_AGE flag. * ospf_lsa.c: added better debug comments. check sequence number in ospf_lsa_install. ospf_maxage_lsa_remover() checks for OSPF_LSA_PREMATURE_AGE and re-originates the lsa after ls_acks are received. * ospf_flood.c: improve debug statement- print ls_seqnum. --- ospfd/ospf_flood.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ospfd/ospf_flood.c') diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index fc6ab137..50cc9af2 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -119,8 +119,9 @@ ospf_process_self_originated_lsa (struct ospf *ospf, listnode node; if (IS_DEBUG_OSPF_EVENT) - zlog_info ("LSA[Type%d:%s]: Process self-originated LSA", - new->data->type, inet_ntoa (new->data->id)); + zlog_info ("LSA[Type%d:%s]: Process self-originated LSA seq 0x%lx", + new->data->type, inet_ntoa (new->data->id), + (u_long)new->data->ls_seqnum); /* If we're here, we installed a self-originated LSA that we received from a neighbor, i.e. it's more recent. We must see whether we want -- cgit v1.2.1