]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: update ospf_asbr_status when using no_area_nssa command
authorShbinging <bingshui@smail.nju.edu.cn>
Wed, 16 Oct 2024 05:28:02 +0000 (05:28 +0000)
committerShbinging <bingshui@smail.nju.edu.cn>
Thu, 17 Oct 2024 06:37:21 +0000 (06:37 +0000)
commit71aa5ab7f6f166065e3b869e3c33ba5b7a57fccb
tree7666a8aac2ef3cc23eb0b0320201cf94a518aef0
parent5c194b36399afa3e90262234d9246e3383bbe015
ospfd: update ospf_asbr_status when using no_area_nssa command

In the processing of nssa, if the number of areas that need to be translated is greater than 0, then abr will be regarded as asbr, and it will be marked (0x3) in the flag of router lsa. When a certain area is set from nssa to a normal area, the areas that need to be translated may be reduced. The asbr should be re-interpreted as abr when the translated area is 0.

Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
ospfd/ospfd.c