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

Atanu Ghosh atanu at icir.org
Thu Dec 4 18:02:07 PST 2008


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	atanu at chum.icir.org	2008-12-05 02:02:07 UTC

XORP CVS repository


Modified files:
	bgp           packet.hh update_packet.cc 

Log message:
	If BGP receives an update packet with a nexthop that belongs to one of
	its interfaces then it should drop the packet. The code if it detects
	this condition throws an exception of type "UnusableMessage". Although
	the calling code caught this exception the constructor for
	"UpdatePacket" did not declare that it would throw this exception so
	the exception was not caught.
	
	Declaring that this exception is being thrown fixes the problem.
	
	Bugzilla URL:   http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=835

Revision  Changes                               Path
1.50      +2 -2;  commitid: 1072049388b9e41a7;  xorp/bgp/packet.hh
1.50      +2 -2;  commitid: 1072049388b9e41a7;  xorp/bgp/update_packet.cc



More information about the Xorp-cvs mailing list