No subject



Fri Feb 25 05:27:11 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Thu, 24 Feb 2005 21:28: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 j1P5S2ZP032848
	for <atanu@tigger.icir.org>; Thu, 24 Feb 2005 21:28: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 j1P5S12Z053806
	for <atanu@icir.org>; Thu, 24 Feb 2005 21:28: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 j1P5S1v4019626;
	Thu, 24 Feb 2005 21:28: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 j1P5RBv4019579
	for <xorp-cvs@icsi.berkeley.edu>; Thu, 24 Feb 2005 21:27:11 -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 j1P5RB2Z053802
	for <xorp-cvs@icir.org>; Thu, 24 Feb 2005 21:27:11 -0800 (PST)
	(envelope-from pavlin@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 j1P5RBT6041639
	for <xorp-cvs@icir.org>; Thu, 24 Feb 2005 21:27:11 -0800 (PST)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id j1P5RB7i041638
	for xorp-cvs@icir.org; Fri, 25 Feb 2005 05:27:11 GMT
	(envelope-from pavlin)
Date: Fri, 25 Feb 2005 05:27:11 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200502250527.j1P5RB7i041638@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/fea
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/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-02-25 05:27:11 UTC

XORP CVS repository


Modified files:
	fea           fticonfig_entry_set_click.cc ifconfig_set_click.cc 

Log message:
	* Modify the NexthopPortMapper setup such that all local IP addresses
	  are mapped to the port designed for local delivery.
	
	* When adding routes to Click, if we are adding a directly-connected
	  route, then check for the corner case of adding a /32 or /128
	  "connected" route that eventually points to either
	  (a) the other side of a p2p link
	  OR
	  (b) a connected route for a /32 or /128 configured interface
	
	  For such routes, we lookup furst the NexthopPortMapper by using
	  the nexthop IP address, and then the nexthop interface,
	  otherwise the search is the other way around.
	
	  By doing so we are really interested in catching case (b) above
	  so we can map the "connected" routes for the /32 or /128 configured
	  interfaces to the local delivery port of the Click lookup element.
	
	This fixes a bug when a /32 configured interface overwrites
	the local delivery entries (initialized by the
	xorp_fea_click_config_generator script) by a bogus routing
	entry that points to the corresponding interface port
	rather than the local delivery port.
	
	Bug found by:   jmorillo@ac.upc.edu

Revision  Changes    Path
1.20      +39 -8     xorp/fea/fticonfig_entry_set_click.cc
1.18      +21 -6     xorp/fea/ifconfig_set_click.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs