[Xorp-cvs] XORP cvs commit: xorp/cli xorp/rtrmgr

Pavlin Radoslavov pavlin at icir.org
Fri Oct 12 18:30:21 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-10-13 01:30:21 UTC

XORP CVS repository


Modified files:
	cli           cli_node.cc cli_node.hh 
	rtrmgr        cli.cc cli.hh 

Log message:
	Fix a problem with referring deleted CliClient object during logout:
	
	* Renamed CliNode::delete_client() to CliNode::remove_client() and
	  change its semantic so now the caller is responsible for deleting
	  the CliClient object.
	* Minor internal refactoring inside xorpsh so during logout the pointer
	  to the CliClient object is saved for later deletion.
	  The deletion itself will happen inside the RouterCLI destructor.
	
	Bug found by:   Ben Greear <greearb AT candelatech.com>

Revision  Changes                                Path
1.39      +3 -5;  commitid: 176d447101ed67ea6;   xorp/cli/cli_node.cc
1.31      +6 -4;  commitid: 176d447101ed67ea6;   xorp/cli/cli_node.hh
1.138     +11 -2;  commitid: 176d447101ed67ea6;  xorp/rtrmgr/cli.cc
1.52      +2 -1;  commitid: 176d447101ed67ea6;   xorp/rtrmgr/cli.hh



More information about the Xorp-cvs mailing list