[quagga-dev 5292] can't delete ospf virtual link

Stig Thormodsrud stig at vyatta.com
Wed Mar 19 23:25:59 GMT 2008


Hello,

I was experimenting with ospf virtual links (using quagga 0.99.9) and had
the following:

  !
  router ospf
   network 13.13.13.0/24 area 13.13.13.13
   area 13.13.13.13 virtual-link 1.1.1.1
  !

Then I realized that 13.13.13.0/24 wasn't a valid network on any of my
interfaces, so I tried to back it out:

  vDUT# conf t
  vDUT(config)# router ospf
  vDUT(config-router)# no network 13.13.13.0/24 area 13.13.13.13
  vDUT(config-router)# no area 13.13.13.13 virtual-link 1.1.1.1
  Area does not exist

So now I can't get rid of the virtual-link:

  !
  router ospf
    area 13.13.13.13 virtual-link 1.1.1.1
  !

It seems like the issue is that ospf_area_check_free() doesn't have any
indication about virtual links, so the area gets deleted with the "no
network" command.  Should the virtual-link be added to area->oiflist or is
there some other indication for virtual-link that could be checked in
ospf_area_check_free()?

Thanks,

stig






More information about the Quagga-dev mailing list