]> git.puffer.fish 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)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 24 Mar 2021 15:55:56 +0000 (18:55 +0300)
commit277b2fccf5a416df9886f76725cee964af4f801e
treed2209d412bd98c3db8c043941f3b73e422549a44
parent56215e6de60668edecc6de428799a17649e34a35
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