summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 54bc09c..f5f041e 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -222,6 +222,9 @@ originate_rt_lsa_body(struct ospf_area *oa, u16 *length)
if (po->areano > 1)
rt->options |= OPT_RT_B;
+ if ((po->areano > 1) && oa_is_nssa(oa) && oa->ac->translator)
+ rt->options |= OPT_RT_NT;
+
if (po->ebit && !oa_is_stub(oa))
rt->options |= OPT_RT_E;
@@ -388,6 +391,9 @@ originate_rt_lsa_body(struct ospf_area *oa, u16 *length)
if (po->areano > 1)
rt->options |= OPT_RT_B;
+ if ((po->areano > 1) && oa_is_nssa(oa) && oa->ac->translator)
+ rt->options |= OPT_RT_NT;
+
if (po->ebit && !oa_is_stub(oa))
rt->options |= OPT_RT_E;