[Xorp-cvs] XORP cvs commit: xorp/ospf

Atanu Ghosh atanu@icir.org
Thu, 27 Oct 2005 20:25:20 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	atanu@xorpc.icir.org	2005-10-27 20:25:20 UTC

XORP CVS repository


Modified files:
	ospf          area_router.cc 

Log message:
	A Router-LSA for the router itself always exists unconditionally in
	the area database. An LSA in the database can be marked as
	unavailable, an example would be no router links.
	
	If an area is configured and all the interfaces are disabled then the
	Router-LSa is not available. The get_lsa() interface used by the show
	database operational command was not checking for availability and
	returning all LSAs unconditionally. The LSA code itself checks for
	availability before returning an LSA and the assert in this code was
	being triggered.

Revision  Changes                               Path
1.131     +6 -1;  commitid: 185c7436137af7ea6;  xorp/ospf/area_router.cc