summaryrefslogtreecommitdiff
path: root/ospfd/ospf_flood.c
diff options
context:
space:
mode:
authorpaul <paul>2003-10-13 09:06:46 +0000
committerpaul <paul>2003-10-13 09:06:46 +0000
commit7ddf1d6eaf5a339d13661469212ac33f77e808fc (patch)
tree2c81cd578472f88adb7300589e05b4f267bf066b /ospfd/ospf_flood.c
parent2fe28bbb7bccedf2e486a8c0aaa43037c91b3336 (diff)
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.
Diffstat (limited to 'ospfd/ospf_flood.c')
-rw-r--r--ospfd/ospf_flood.c5
1 files changed, 3 insertions, 2 deletions
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