diff options
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r-- | proto/ospf/topology.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 54bc09cb..f5f041eb 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; |