No subject
Sat May 31 9:35:31 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Sat, 31 May 2003 09:36:02 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h4VGa1CH035542
for <atanu@tigger.icir.org>; Sat, 31 May 2003 09:36:01 -0700 (PDT)
(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.8p1/8.12.3) with ESMTP id h4VGa1DD093758
for <atanu@icir.org>; Sat, 31 May 2003 09:36:01 -0700 (PDT)
(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.9/8.12.9) with ESMTP id h4VGa1bb002328;
Sat, 31 May 2003 09:36:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h4VGZVbb002317
for <xorp-cvs@icsi.berkeley.edu>; Sat, 31 May 2003 09:35:31 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h4VGZVDD093756
for <xorp-cvs@icir.org>; Sat, 31 May 2003 09:35:31 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h4VGZVQg035850
for <xorp-cvs@icir.org>; Sat, 31 May 2003 09:35:31 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h4VGZVhR035849;
Sat, 31 May 2003 09:35:31 -0700 (PDT)
(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200305311635.h4VGZVhR035849@xorpc.icir.org>
Date: Sat, 31 May 2003 9:35:31 ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/pim/ test_pim.cc
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
Repository: xorp/pim/
Changes by: pavlin@xorpc.icir.org. 03/05/31 09:35:31
Modified files:
xorp/pim/: test_pim.cc
Log message:
Apply a work-around solution of a problem when the
FinderServer(EventLoop& e) constructor is used to create an
in-process finder:
* If we use the FinderServer(EventLoop& e) constructor, then the finder
uses the if_get_preferred() IP address (i.e., the address of one
of the network interfaces) to bind to. However, then it
refuses connections from the local host (when using libxipc/call_xrl),
most likely because they come from address 127.0.0.1, and the finder
is not binding to that address. Hence, the following constructor is
used instead (with if_addr of IPv4::ANY() and port of
FINDER_NG_TCP_DEFAULT_PORT):
FinderServer(EventLoop& e, IPv4 if_addr, uint16_t port)
* Interestingly, even if the Finder binds to IPv4::ANY(), it is
still receiving some requests from the address of the local network
interface which however are not permitted by default. To fix this,
used add_permitted_host(if_get_preferred());
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs