From: Hartmut Reuter Date: Thu, 19 Aug 2004 01:28:29 +0000 (+0000) Subject: ubik-multihome-byte-order-problem-20040818 X-Git-Tag: BP-disconnected~277 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6f1cd5a43e1240ecc7a964b8236e25e1d0e46fca;p=packages%2Fo%2Fopenafs.git 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" --- diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 9d836d198..1a25a0c57 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -570,7 +570,7 @@ verifyInterfaceAddress(ame, info, aservers) for (i = 0; i < totalServers; i++) { if (info) tmpAddr = - ntohl((afs_uint32) info->hostAddr[i].sin_addr.s_addr); + (afs_uint32) info->hostAddr[i].sin_addr.s_addr; else tmpAddr = aservers[i]; if (myAddr[j] == tmpAddr) {