]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: remove interface prefix when area is removed
authorckishimo <carles.kishimoto@gmail.com>
Tue, 16 Mar 2021 23:01:19 +0000 (00:01 +0100)
committerckishimo <carles.kishimoto@gmail.com>
Tue, 16 Mar 2021 23:01:22 +0000 (00:01 +0100)
commitd100d0b00c91af7ce38cc25139563201a1fbfb42
treed22776f1566af5e4131b4c5fad0e3b5a2713b9ab
parent5ac69ec52a6eb92141deac6d930dddc6ac053e8e
ospf6d: remove interface prefix when area is removed

This bug was first reported in PR#7717. When removing an interface
from the area, the interface prefix is still shown

  r1# sh ipv6 ospf6 interface prefix
  *N IA 2013:12::/64       ::1      r1-r2-eth0 00:00:12

  r1# conf t
  r1(config)# router ospf6
  r1(config-ospf6)# no interface r1-r2-eth0 area 0.0.0.0
  r1(config-ospf6)# exit

  r1# sh ipv6 ospf6 interface prefix
  *N IA 2013:12::/64       ::1      r1-r2-eth0 00:00:22

This fix will check if the interface is disabled so the
prefix is not shown

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospf6d/ospf6_interface.c