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

Atanu Ghosh atanu@icir.org
Sat, 25 Feb 2006 06:44:38 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	atanu@xorpc.icir.org	2006-02-25 06:44:38 UTC

XORP CVS repository


Modified files:
	ospf          peer.cc peer.hh 

Log message:
	In OSPFv2 the DR and BDR in the hello packet are interface
	addresses. In OSPFv3 the DR and BDR are router IDs.
	
	The designated router election uses the router ID to resolve conflicts
	if the priorities of two routers are the same. Unfortunately in the
	OSPFv2 case the interface addresses were being compared not the router
	IDs.
	
	This problem was hidden as typically one the interface addresses is
	choosen as the router ID.

Revision  Changes                               Path
1.224     +14 -9;  commitid: fa4743fffcd57ea6;  xorp/ospf/peer.cc
1.120     +9 -5;  commitid: fa4743fffcd57ea6;   xorp/ospf/peer.hh