summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_area.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-09-06 19:52:32 -0300
committerRenato Westphal <renato@opensourcerouting.org>2021-09-21 17:47:13 -0300
commit6735622c24a3510032e40aaf4b9f419e9efbea3d (patch)
tree21c37b02d6b5833e47a7601c9879f323021b0ec4 /ospf6d/ospf6_area.h
parent210429c74722d85f392cbee344ffd30bea83a004 (diff)
ospf6d: implement Type-7 default routes for NSSA areas
Add the "default-information-originate" option to the "area X nssa" command. That option allows the origination of Type-7 default routes on NSSA ABRs and ASBRs. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_area.h')
-rw-r--r--ospf6d/ospf6_area.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ospf6d/ospf6_area.h b/ospf6d/ospf6_area.h
index 43ac60b261..77cbad8b9e 100644
--- a/ospf6d/ospf6_area.h
+++ b/ospf6d/ospf6_area.h
@@ -52,6 +52,13 @@ struct ospf6_area {
/* Area type */
int no_summary;
+ /* NSSA default-information-originate */
+ struct {
+ bool enabled;
+ int metric_type;
+ int metric_value;
+ } nssa_default_originate;
+
/* Brouter traversal protection */
bool intra_brouter_calc;