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.
1 file changed