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

Pavlin Radoslavov pavlin@icir.org
Thu, 28 Jul 2005 07:26:54 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-07-28 07:26:54 UTC

XORP CVS repository


Modified files:
	rtrmgr        cli.cc 

Log message:
	* Reset the _cli_client_ptr inside method RouterCLI::logout_func()
	  after the CliClient object has been deleted.
	  This fixes a bug where the xorpsh didn't quit after executing
	  the "quit" command in operational mode.
	
	* If necessary, delete the _cli_client_ptr object inside the RouterCLI
	  destructor.
	  This fixes a bug restoring the terminal when we run xorpsh inside sh.
	
	Bug found by:   Atanu Ghosh

Revision  Changes                               Path
1.87      +6 -4;  commitid: 11ca742e887957ea6;  xorp/rtrmgr/cli.cc