No subject



Thu Nov 4 06:59:00 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 03 Nov 2004 23:00:02 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id iA4702mx051967
	for <atanu@tigger.icir.org>; Wed, 3 Nov 2004 23:00:02 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id iA47019l005558
	for <atanu@icir.org>; Wed, 3 Nov 2004 23:00:01 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id iA4701N1023559;
	Wed, 3 Nov 2004 23:00:01 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id iA46x0N1023535
	for <xorp-cvs@icsi.berkeley.edu>; Wed, 3 Nov 2004 22:59:00 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id iA46x09l005542
	for <xorp-cvs@icir.org>; Wed, 3 Nov 2004 22:59:00 -0800 (PST)
	(envelope-from bms@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id iA46x0iu056861
	for <xorp-cvs@icir.org>; Wed, 3 Nov 2004 22:59:00 -0800 (PST)
	(envelope-from bms@xorpc.icir.org)
Received: (from bms@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id iA46x0MB056860
	for xorp-cvs@icir.org; Thu, 4 Nov 2004 06:59:00 GMT
	(envelope-from bms)
Date: Thu, 4 Nov 2004 06:59:00 GMT
From: Bruce Simpson <bms@icir.org>
Message-Id: <200411040659.iA46x0MB056860@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	bms@xorpc.icir.org	2004-11-04 06:59:00 UTC

XORP CVS repository


Modified files:
	bgp           route_table_ribout.cc 

Log message:
	Remove an unnecessary cached iterator. i2 is assigned
	to the current value of i, then i is incremented. The
	element pointed to by the i2 iterator is then erased.
	
	Also: Delete a pointed-to element before erasing its
	pointer which is held in a sequenced container, as
	the iterator will then be invalid.
	
	This code is marked unreachable, so this fix does
	nothing, but will stop us from tripping over this
	in future bug sweeps.
	
	Glanced at by:  mark, pavlin

Revision  Changes    Path
1.20      +3 -5      xorp/bgp/route_table_ribout.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs