]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix warning message when interfae disabled
authorckishimo <carles.kishimoto@gmail.com>
Tue, 16 Mar 2021 23:14:26 +0000 (00:14 +0100)
committerckishimo <carles.kishimoto@gmail.com>
Tue, 16 Mar 2021 23:14:32 +0000 (00:14 +0100)
commit800cc91882b1ec4aaa01fbd6c570f15310160dec
treedd193824e55b1ad142135263a4bca2e6a2cf21cb
parentd100d0b00c91af7ce38cc25139563201a1fbfb42
ospf6d: fix warning message when interfae disabled

When removing an interface from an existing area,
the warning message we get is not correct

  interface r1-r2-eth0
   ipv6 address 2013:12::1/64
   ipv6 ospf6 dead-interval 4
   ipv6 ospf6 hello-interval 1
  !
  interface dummy
   ipv6 ospf6 dead-interval 4
   ipv6 ospf6 hello-interval 1
   ipv6 ospf6 network point-to-point
  !
  router ospf6
   ospf6 router-id 1.1.1.1
   interface r1-r2-eth0 area 0.0.0.0
  !

  r1(config-if)# router ospf6
  r1(config-ospf6)# no interface dummy area 0.0.0.0
  No such Area-ID: 0.0.0.0   <--- area 0.0.0.0 exists

This is fixing the error message

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