From 34f59c514d069e13de0c2d0fdad4e88401034628 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 23 Apr 2001 07:31:15 +0000 Subject: [PATCH] STABLE10-ubik-clone-support-20010423 correct bad initialization in clone handling case --- src/ubik/beacon.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 59fb4c8d6..bb11cbdf9 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -211,12 +211,16 @@ ubeacon_InitServerListCommon(ame, info, clones, aservers) } ++nServers; } - ts->vote_rxcid = rx_NewConnection(servAddr, ubik_callPortal, - VOTE_SERVICE_ID, - ubikSecClass, ubikSecIndex); /* for vote reqs */ - ts->disk_rxcid = rx_NewConnection(servAddr, ubik_callPortal, - DISK_SERVICE_ID, ubikSecClass, - ubikSecIndex); /* for disk reqs */ + /* for vote reqs */ + ts->vote_rxcid = rx_NewConnection(info->hostAddr[i].sin_addr.s_addr, + ubik_callPortal, + VOTE_SERVICE_ID, + ubikSecClass, ubikSecIndex); + /* for disk reqs */ + ts->disk_rxcid = rx_NewConnection(info->hostAddr[i].sin_addr.s_addr, + ubik_callPortal, + DISK_SERVICE_ID, ubikSecClass, + ubikSecIndex); ts->up = 1; } } else { -- 2.39.5