]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: fix NSSA translator
authorckishimo <carles.kishimoto@gmail.com>
Thu, 19 Nov 2020 07:23:14 +0000 (23:23 -0800)
committerckishimo <carles.kishimoto@gmail.com>
Thu, 19 Nov 2020 07:23:14 +0000 (23:23 -0800)
commit0124b46b949effbd90ceb2aa129753f64e86c1a3
tree5cfd82abb952f3a2fb8d20be11e3df3e63e6192b
parent3dbaf077d447d4cc24699192c267393cc7476947
ospfd: fix NSSA translator

Having 2 ABR in NSSA area where R3 is the elected translator

R3# show ip ospf
  We are an ABR and the NSSA Elected Translator.
R2# show ip ospf
  We are an ABR, but not the NSSA Elected Translator.

When R3 loses the Border condition by shutting down the interface
to the backbone, we end up with no translator in the NSSA area. It
is expected R2 to take over the translator role

R3# sh ip ospf
  It is not ABR, therefore not Translator.
R2# show ip ospf
   We are an ABR, but not the NSSA Elected Translator.

This PR forces the ABR to reevaluate the translator condition, so
R2 becomes the elected Translator

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospfd/ospf_abr.c
ospfd/ospf_abr.h
ospfd/ospf_spf.c