From: Hartmut Reuter Date: Mon, 18 Oct 2004 05:53:03 +0000 (+0000) Subject: STABLE12-ubik-multihome-byte-order-problem-20040818 X-Git-Tag: openafs-stable-1_2_12~20 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3edff19bb66c45fa161d1d95cdaf7edf75b8839a;p=packages%2Fo%2Fopenafs.git STABLE12-ubik-multihome-byte-order-problem-20040818 "Playing around with multi-address database servers on little-endian machines I found out that there is one conversion of the ip-address too much" (cherry picked from commit 6f1cd5a43e1240ecc7a964b8236e25e1d0e46fca) --- diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index e5f92f037..0fe7b7716 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -549,7 +549,7 @@ static verifyInterfaceAddress(ame, info, aservers) { for ( i=0; i < totalServers; i++) { if (info) - tmpAddr = ntohl((afs_uint32) info->hostAddr[i].sin_addr.s_addr); + tmpAddr = (afs_uint32) info->hostAddr[i].sin_addr.s_addr; else tmpAddr = aservers[i]; if ( myAddr[j] == tmpAddr) {