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.
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c
index fc6ab13..50cc9af 100644
--- a/ospfd/ospf_flood.c
+++ b/ospfd/ospf_flood.c
@@ -119,8 +119,9 @@
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