[Xorp-cvs] SF.net SVN: xorp:[11564] trunk/xorp/libxipc/xrl_router.cc

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Fri Oct 2 04:34:17 PDT 2009


Revision: 11564
          http://xorp.svn.sourceforge.net/xorp/?rev=11564&view=rev
Author:   bms_fbsd
Date:     2009-10-02 11:34:14 +0000 (Fri, 02 Oct 2009)

Log Message:
-----------
Bump up maximum finder connect timeout to 120000ms (120s),
to allow debugging usage.

Submitted by:	Ben Greear

Modified Paths:
--------------
    trunk/xorp/libxipc/xrl_router.cc

Modified: trunk/xorp/libxipc/xrl_router.cc
===================================================================
--- trunk/xorp/libxipc/xrl_router.cc	2009-10-02 11:27:49 UTC (rev 11563)
+++ trunk/xorp/libxipc/xrl_router.cc	2009-10-02 11:34:14 UTC (rev 11564)
@@ -207,8 +207,10 @@
 	char *ep = NULL;
 	timeout_ms = strtoul(value, &ep, 10);
 	if ( !(*value != '\0' && *ep == '\0') &&
-	      (timeout_ms <= 0 || timeout_ms > 6000)) {
-	    XLOG_ERROR("Invalid \"XORP_FINDER_CONNECT_TIMEOUT_MS\": %s", value);
+	      (timeout_ms <= 0 || timeout_ms > 120000)) {
+	    XLOG_ERROR(
+"Out of bounds \"XORP_FINDER_CONNECT_TIMEOUT_MS\": %s (must be 0..120000",
+	        value);
 	    timeout_ms = DEFAULT_FINDER_CONNECT_TIMEOUT_MS;
 	}
     }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list