summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_area.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2018-03-02 23:20:26 +0100
committerChirag Shah <chirag@cumulusnetworks.com>2018-03-08 23:29:21 +0100
commit690df17787c759d36cf57ba1070c961ac87b4b1a (patch)
tree20fa520099421748e3d2a477531e2e1dfb8179bc /ospf6d/ospf6_area.h
parentMerge pull request #1843 from chiragshah6/ospf_vrf_dev (diff)
downloadfrr-690df17787c759d36cf57ba1070c961ac87b4b1a.tar.xz
frr-690df17787c759d36cf57ba1070c961ac87b4b1a.zip
ospf6d: Intra-prefix LSA update after frr restart
Initially INP LSA is originated, when connected interface comes up. As neighbor is not up, LSA is not transmitted but stored in DB. As NSM transition to FULL, INP is scheduled but ospf6_flood() would not originate the LSA as current DB and new INP LSA same so it discards the new LSA. When Neighor becomes FULL, originate INP via flushing current DB copy and generate new. This is introduced as PR 1738 introduce, premature aging of LSAs in nbr table as R1 going down. upon neigbor coming up, INP was not updated to new age. Ticket:CM-19926,CM-19945 Testing Done: Topology R3 --- R1 -- R2, R1 have INP LSA. After frr restart R2 and R3 re learnt R1's INP LSA as new neighbor(s) come up. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_area.h')
-rw-r--r--ospf6d/ospf6_area.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_area.h b/ospf6d/ospf6_area.h
index e162d21cd..a44a432a0 100644
--- a/ospf6d/ospf6_area.h
+++ b/ospf6d/ospf6_area.h
@@ -101,6 +101,7 @@ struct ospf6_area {
struct timeval ts_spf; /* SPF calculation time stamp. */
uint32_t full_nbrs; /* Fully adjacent neighbors. */
+ uint8_t intra_prefix_originate; /* Force intra_prefix lsa originate */
};
#define OSPF6_AREA_ENABLE 0x01