Skip to content

OSPF incorrectly set flag of router lsa when unset nssa area #17105

@Shbinging

Description

@Shbinging

Description

This is simplified issue of #17084

When OSPF is configured with nssa area, it's router lsa's flag is set to ABR,ASBR. After setting the nssa area to normal area, the flag is still ABR,ASBR which should be ABR

Version

10.1

How to reproduce

R4 conf is

interface r4-eth0
 ip address 177.70.31.169/11
 ip ospf area 0.0.0.2
exit
!
interface r4-eth1
 ip address 207.235.166.37/17
 ip ospf area 0.0.0.0
 ip ospf dead-interval minimal hello-multiplier 10
exit
!
router ospf
 ospf router-id 0.0.0.4
 area 0.0.0.2 nssa
exit

Then we unset nssa area,

router ospf
  no area 0.0.0.2 nssa

Expected behavior

The flags of router lsa should be ABR(0x1)

Actual behavior

The flags of router lsa is ABR,ASBR(0x3)

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions