]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_abr.c
2003-06-19 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Sun, 22 Jun 2003 08:49:25 +0000 (08:49 +0000)
committerpaul <paul>
Sun, 22 Jun 2003 08:49:25 +0000 (08:49 +0000)
commite2c6c153d13eb47806d10129d32aee4a8a38a9e3
treedabceb96b175b652f11a08aa52df63fcefbf0cc7
parent084c7844aee44212435892cfa9e995feabcad03a
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_abr.c (ospf_abr_nssa_am_elected): new function.
  Look through LSDB for an area and try determine whether other
  routers are more 'electable' than this router. Presumes caller
  has checked Role.
  (ospf_abr_nssa_check_status): new function. check any NSSA related
          status changes. At present determines NSSATranslatorState should
  be enabled or disabled.
  (ospf_abr_announce_network_to_area): remove the redundant
  call to ospf_abr_announce_network_to_area() (as per Vadim,
  [zebra 14710], problem 7).
  (global): Update NSSATranslator to NSSATranslatorState as per
  ospfd.h changes
  (ospf_abr_announce_nssa_defaults): call
  ospf_abr_announce_network_to_area() to inject default summaries.
  (ospf_abr_nssa_task): undo commented out calls to
  ospf_abr_prepare_aggregates() and ospf_abr_send_nssa_aggregates(),
  if they're borked, lets fix them.
  (ospf_abr_task): remove call to ospf_abr_nssa_task() - move this
  to the timer scheduler.
  (ospf_abr_task_timer): call ospf_abr_nssa_task() and
  ospf_abr_nssa_check_status()
  (misc): some minor reformatting.
ospfd/ospf_abr.c