Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/rumpkern/h_client set reconnect property now that...



details:   https://anonhg.NetBSD.org/src/rev/1a77dbf5c7a8
branches:  trunk
changeset: 762320:1a77dbf5c7a8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Feb 19 09:56:45 2011 +0000

description:
set reconnect property now that it's off by default

diffstat:

 tests/rump/rumpkern/h_client/h_reconcli.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 65895f418f59 -r 1a77dbf5c7a8 tests/rump/rumpkern/h_client/h_reconcli.c
--- a/tests/rump/rumpkern/h_client/h_reconcli.c Sat Feb 19 09:54:01 2011 +0000
+++ b/tests/rump/rumpkern/h_client/h_reconcli.c Sat Feb 19 09:56:45 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: h_reconcli.c,v 1.1 2011/01/24 17:51:29 pooka Exp $     */
+/*     $NetBSD: h_reconcli.c,v 1.2 2011/02/19 09:56:45 pooka Exp $     */
 
 #include <sys/types.h>
 #include <sys/sysctl.h>
@@ -93,6 +93,7 @@
 
        srandom(time(NULL));
 
+       rumpclient_setconnretry(RUMPCLIENT_RETRYCONN_INFTIME);
        if (rumpclient_init() == -1)
                err(1, "init");
 



Home | Main Index | Thread Index | Old Index